From 7a5f1379747c32aedc5f9efdeb6ae24ac4fea7f2 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Mon, 15 Nov 2010 06:52:44 +0000 Subject: [PATCH] [Win32k] - Fix hooks, do not cleanup hooks when any window from the same thread is destroyed. svn path=/trunk/; revision=49592 --- reactos/subsystems/win32/win32k/ntuser/window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index dd714cd9483..046515ce454 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -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); -- 2.17.1