[NTUSER] Fix UserDestroyInputContet (again and again) (#4482)

Add call of UserMarkObjectDestroy.
Fix hung-up. CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-05-03 10:17:30 +09:00 committed by GitHub
parent 4a748a3a97
commit 2ef605d428
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1468,6 +1468,7 @@ BOOLEAN UserDestroyInputContext(PVOID Object)
if (!pIMC)
return TRUE;
UserMarkObjectDestroy(pIMC);
UserDeleteObject(UserHMGetHandle(pIMC), TYPE_INPUTCONTEXT);
return TRUE;
}