mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[Win32k]
- Fix a crash while running modified stress test with explorer. See CORE-11913. svn path=/trunk/; revision=72605
This commit is contained in:
@@ -4137,9 +4137,12 @@ static INT FASTCALL MENU_TrackMenu(PMENU pmenu, UINT wFlags, INT x, INT y,
|
||||
if (mt.TopMenu->fFlags & MNF_POPUP)
|
||||
{
|
||||
PWND pwndTM = ValidateHwndNoErr(mt.TopMenu->hWnd);
|
||||
IntNotifyWinEvent(EVENT_SYSTEM_MENUPOPUPEND, pwndTM, OBJID_CLIENT, CHILDID_SELF, 0);
|
||||
if (pwndTM)
|
||||
{
|
||||
IntNotifyWinEvent(EVENT_SYSTEM_MENUPOPUPEND, pwndTM, OBJID_CLIENT, CHILDID_SELF, 0);
|
||||
|
||||
co_UserDestroyWindow(pwndTM);
|
||||
co_UserDestroyWindow(pwndTM);
|
||||
}
|
||||
mt.TopMenu->hWnd = NULL;
|
||||
|
||||
if (!(wFlags & TPM_NONOTIFY))
|
||||
|
||||
Reference in New Issue
Block a user