[WIN32K:NTUSER]
[reactos.git] / reactos / win32ss / user / ntuser / main.c
index 4ca68ae..f9aed03 100644 (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--;