[NTUSER] Delete gpDeviceInfoListMutex resource on shutdown (#9561)

Fixes a shutdown crash caused by a missing resource deletion. CORE-20777
This commit is contained in:
Justin Miller
2026-09-20 19:34:28 +00:00
committed by GitHub
parent ba8573ea72
commit 9b4cd0b503

View File

@@ -385,6 +385,7 @@ RawInputThreadMain(VOID)
ghKeyboardDevice = NULL;
}
ExDeleteResourceLite(gpDeviceInfoListMutex);
ExFreePoolWithTag(gpDeviceInfoListMutex, USERTAG_SYSTEM);
ERR("Raw Input Thread Exit!\n");