user32/tests: Clean side effect after testing winstation.

This commit is contained in:
Qian Hong 2013-10-08 11:39:54 +08:00 committed by Alexandre Julliard
parent a07e0c5a4a
commit 834ce9a2d7
1 changed files with 3 additions and 0 deletions

View File

@ -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 */