mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 13:15:07 +00:00
[Win32k] - Fix hooks, do not cleanup hooks when any window from the same thread is destroyed.
svn path=/trunk/; revision=49592
This commit is contained in:
parent
14a5ef32d6
commit
7a5f137974
|
@ -402,8 +402,6 @@ static LRESULT co_UserFreeWindow(PWND Window,
|
||||||
|
|
||||||
DestroyTimersForWindow(ThreadData, Window);
|
DestroyTimersForWindow(ThreadData, Window);
|
||||||
|
|
||||||
HOOK_DestroyThreadHooks(ThreadData->pEThread); // This is needed here too!
|
|
||||||
|
|
||||||
/* flush the message queue */
|
/* flush the message queue */
|
||||||
MsqRemoveWindowMessagesFromQueue(Window);
|
MsqRemoveWindowMessagesFromQueue(Window);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue