Author: jimtabor Date: Sat Apr 18 00:34:09 2009 New Revision: 40562
URL: http://svn.reactos.org/svn/reactos?rev=40562&view=rev Log: - Ref bug 4074: Need to test it again to see if it crashes further down the line.
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Sat Apr 18 00:34:09 2009 @@ -2397,9 +2397,11 @@ BOOLEAN isChild; PWINDOW Wnd;
- ASSERT_REFS_CO(Window); //fixme: temp hack? + ASSERT_REFS_CO(Window); // FIXME: temp hack?
Wnd = Window->Wnd; + + if (!Wnd) return TRUE; // FIXME: Need to finish object rewrite or lock the thread when killing the window!
/* Check for owner thread */ if ((Window->OwnerThread != PsGetCurrentThread()))