Qian Hong : user32/tests: Clean side effect after testing winstation.
Alexandre Julliard
julliard at winehq.org
Tue Oct 8 15:41:06 CDT 2013
Module: wine
Branch: master
Commit: 834ce9a2d7115440517552ea449d5a627d69514f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=834ce9a2d7115440517552ea449d5a627d69514f
Author: Qian Hong <qhong at codeweavers.com>
Date: Tue Oct 8 11:39:54 2013 +0800
user32/tests: Clean side effect after testing winstation.
---
dlls/user32/tests/winstation.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c
index d6a4879..560b34f 100644
--- a/dlls/user32/tests/winstation.c
+++ b/dlls/user32/tests/winstation.c
@@ -270,6 +270,9 @@ static void test_handles(void)
trace( "get other thread desktop: %p\n", GetThreadDesktop(id) );
WaitForSingleObject( hthread, INFINITE );
CloseHandle( hthread );
+
+ /* clean side effect */
+ SetProcessWindowStation( w1 );
}
/* Enumeration tests */
More information about the wine-cvs
mailing list