mirror of
https://github.com/reactos/reactos.git
synced 2024-06-21 13:31:38 +00:00
[0.4.9][WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu CORE-15512
It is rare, but I have seen this crash happening as well
when interacting with the taskbar quickly after the boot.
fix picked from 0.4.12-dev-203-g c526f94
This commit is contained in:
parent
d15f8a6646
commit
2b96692387
|
@ -5454,7 +5454,7 @@ NtUserGetSystemMenu(HWND hWnd, BOOL bRevert)
|
|||
DECLARE_RETURN(HMENU);
|
||||
|
||||
TRACE("Enter NtUserGetSystemMenu\n");
|
||||
UserEnterShared();
|
||||
UserEnterExclusive();
|
||||
|
||||
if (!(Window = UserGetWindowObject(hWnd)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue