[PATCH 05/12] user32/tests: Close event at the end of the test_WaitForInputIdle test.

Rémi Bernon rbernon at codeweavers.com
Tue Nov 12 14:41:58 CST 2019


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 at codeweavers.com>
---
 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 1d795b50c3a..41310864574 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -16319,6 +16319,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 );
-- 
2.24.0.rc2




More information about the wine-devel mailing list