Skip to content
Commit ccdd7acd authored by Benjamin Thaut's avatar Benjamin Thaut Committed by Baldur Karlsson
Browse files

Avoid rare deadlock inside SHCreateDirectoyExW.

Replace call to SHCreateDirectoyExW on the win32 platform with multiple
calls to CreateDirectoryW to avoid deadlock within CoUninitialize which
is called from SHCreateDirectoyExW. MSDN states that calling
CoInitialize during DllMain is prohibited. SHCreateDirectoyExW
internally calls CoInitialize, thus calling SHCreateDirectoyExW inside
the DllMain is prohibited as well.
parent adb3bb8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment