mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- 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:
@@ -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()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user