[Win32k] - Fix hooks, do not cleanup hooks when any window from the same thread is...
authorJames Tabor <james.tabor@reactos.org>
Mon, 15 Nov 2010 06:52:44 +0000 (06:52 +0000)
committerJames Tabor <james.tabor@reactos.org>
Mon, 15 Nov 2010 06:52:44 +0000 (06:52 +0000)
svn path=/trunk/; revision=49592

reactos/subsystems/win32/win32k/ntuser/window.c

index dd714cd..046515c 100644 (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);