mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
[NtUser]
- Hack fix crash while removing menus. See CORE-9107 for crash information and CORE-8299 for overall menu issues. svn path=/trunk/; revision=66132
This commit is contained in:
parent
8c1b044a8c
commit
db9a74e7cc
|
@ -252,6 +252,11 @@ IntDestroyMenuObject(PMENU Menu, BOOL bRecurse)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (UserObjectInDestroy(Menu->head.h))
|
||||
{
|
||||
ERR("Menu already dead!\n");
|
||||
return FALSE;
|
||||
}
|
||||
ret = UserDeleteObject(Menu->head.h, TYPE_MENU);
|
||||
if (!ret)
|
||||
{ // Make sure it is really dead or just marked for deletion.
|
||||
|
|
Loading…
Reference in a new issue