mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
GetDesktopWindow can now potentially create a thread, so we shouldn't
call this function from DllMain otherwise it is possible to cause a deadlock.
This commit is contained in:
parent
ebf7a5d408
commit
4db3769e70
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ static void thread_detach(void)
|
|||
|
||||
WDML_NotifyThreadDetach();
|
||||
|
||||
WIN_DestroyThreadWindows( GetDesktopWindow() );
|
||||
WIN_DestroyThreadWindows( get_user_thread_info()->desktop );
|
||||
CloseHandle( get_user_thread_info()->server_queue );
|
||||
|
||||
exiting_thread_id = 0;
|
||||
|
|
Loading…
Reference in a new issue