[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:
James Tabor 2010-11-15 06:52:44 +00:00
parent 14a5ef32d6
commit 7a5f137974

View file

@ -402,8 +402,6 @@ static LRESULT co_UserFreeWindow(PWND Window,
DestroyTimersForWindow(ThreadData, Window);
HOOK_DestroyThreadHooks(ThreadData->pEThread); // This is needed here too!
/* flush the message queue */
MsqRemoveWindowMessagesFromQueue(Window);