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
|
@ -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 New Issue