Commit d640d3fa authored by Wolfgang Schwotzer's avatar Wolfgang Schwotzer Committed by Alexandre Julliard

ws2_32/tests: Only log threads which not terminated by themselves.

parent bd1941c3
......@@ -938,9 +938,11 @@ static void do_test( test_setup *test )
{
for (i = 0; i <= n; i++)
{
trace ("terminating thread %08x\n", thread_id[i]);
if ( WaitForSingleObject ( thread[i], 0 ) != WAIT_OBJECT_0 )
{
trace ("terminating thread %08x\n", thread_id[i]);
TerminateThread ( thread [i], 0 );
}
}
}
CloseHandle ( server_ready );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment