25 Aug
2022
25 Aug
'22
3:18 p.m.
Fixes a bug that occurs when: - `CoInitializeEx(NULL, COINIT_MULTITHREADED);` is called on thread 1 - `CoInitializeEx(NULL, COINIT_MULTITHREADED);` is called on thread 2 - `CoUninitialize()` is called on thread 1. - `CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);` is called on thread 1. After this, when attempting to marshal an interface on thread 2, when `ipid_to_ifstub` is called, `apartment_findfromtid()` will find thread 1's STA and not the MTA. -- v2: combase: Omit thread ID from the stub manager ipid for MTA objects. https://gitlab.winehq.org/wine/wine/-/merge_requests/705