- Ref bug 4074: Need to test it again to see if it crashes further down the line.

svn path=/trunk/; revision=40562
This commit is contained in:
James Tabor 2009-04-17 20:34:09 +00:00
parent c116c45760
commit fe9f8bcea5

View file

@ -2397,10 +2397,12 @@ BOOLEAN FASTCALL co_UserDestroyWindow(PWINDOW_OBJECT Window)
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()))
{