Rémi Bernon : user32/tests: Close event at the end of the test_WaitForInputIdle test.
Module: wine Branch: master Commit: 8134b8b6f50fb5528bcb1cbe316d29a3421b4baf URL: https://source.winehq.org/git/wine.git/?a=commit;h=8134b8b6f50fb5528bcb1cbe3... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Nov 12 21:41:58 2019 +0100 user32/tests: Close event at the end of the test_WaitForInputIdle test. There's some random timeout failures on Windows VMs in this test, this is probably not going to fix them, but cleaning up is not going to hurt. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/user32/tests/msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index f136ea1166..39d7e1a0a1 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -16315,6 +16315,7 @@ static void test_WaitForInputIdle( char *argv0 ) CloseHandle( pi.hThread ); } } + CloseHandle( end_event ); CloseHandle( start_event ); PostThreadMessageA( id, WM_QUIT, 0, 0 ); WaitForSingleObject( thread, 10000 );
participants (1)
-
Alexandre Julliard