mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 09:18:34 +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:
parent
c116c45760
commit
fe9f8bcea5
1 changed files with 3 additions and 1 deletions
|
@ -2397,10 +2397,12 @@ BOOLEAN FASTCALL co_UserDestroyWindow(PWINDOW_OBJECT Window)
|
||||||
BOOLEAN isChild;
|
BOOLEAN isChild;
|
||||||
PWINDOW Wnd;
|
PWINDOW Wnd;
|
||||||
|
|
||||||
ASSERT_REFS_CO(Window); //fixme: temp hack?
|
ASSERT_REFS_CO(Window); // FIXME: temp hack?
|
||||||
|
|
||||||
Wnd = Window->Wnd;
|
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 */
|
/* Check for owner thread */
|
||||||
if ((Window->OwnerThread != PsGetCurrentThread()))
|
if ((Window->OwnerThread != PsGetCurrentThread()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue