Module: wine Branch: master Commit: 834ce9a2d7115440517552ea449d5a627d69514f URL: http://source.winehq.org/git/wine.git/?a=commit;h=834ce9a2d7115440517552ea44...
Author: Qian Hong qhong@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 */