Author: tfaber
Date: Tue Jun 13 13:27:03 2017
New Revision: 75021
URL:
http://svn.reactos.org/svn/reactos?rev=75021&view=rev
Log:
[WIN32K:NTUSER]
- Close the clipboard when a thread is destroyed. Fixes 148 user32:clipboard tests
CORE-13414
Modified:
trunk/reactos/win32ss/user/ntuser/main.c
Modified: trunk/reactos/win32ss/user/ntuser/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/main.c…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/main.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/main.c [iso-8859-1] Tue Jun 13 13:27:03 2017
@@ -707,6 +707,8 @@
ptiCurrent->TIF_flags |= TIF_DONTATTACHQUEUE;
ptiCurrent->pClientInfo->dwTIFlags = ptiCurrent->TIF_flags;
+
+ UserCloseClipboard();
/* Decrement thread count and check if its 0 */
ppiCurrent->cThreads--;