[WIN32K:NTUSER]

- Close the clipboard when a thread is destroyed. Fixes 148 user32:clipboard tests
CORE-13414

svn path=/trunk/; revision=75021
This commit is contained in:
Thomas Faber
2017-06-13 13:27:03 +00:00
parent d7fe3588b6
commit 5e10767ccd
+2
View File
@@ -708,6 +708,8 @@ ExitThreadCallback(PETHREAD Thread)
ptiCurrent->TIF_flags |= TIF_DONTATTACHQUEUE;
ptiCurrent->pClientInfo->dwTIFlags = ptiCurrent->TIF_flags;
UserCloseClipboard();
/* Decrement thread count and check if its 0 */
ppiCurrent->cThreads--;