mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
[0.4.11][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
fd1fa5e9ca
commit
e11d83ad08
1 changed files with 1 additions and 1 deletions
|
@ -5506,7 +5506,7 @@ NtUserGetSystemMenu(HWND hWnd, BOOL bRevert)
|
|||
DECLARE_RETURN(HMENU);
|
||||
|
||||
TRACE("Enter NtUserGetSystemMenu\n");
|
||||
UserEnterShared();
|
||||
UserEnterExclusive();
|
||||
|
||||
if (!(Window = UserGetWindowObject(hWnd)))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue