ws2_32/tests: Only log threads which not terminated by themselves.
This commit is contained in:
parent
bd1941c3c2
commit
d640d3fa5c
|
@ -938,11 +938,13 @@ 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 );
|
||||
for (i = 0; i <= n; i++)
|
||||
CloseHandle ( client_ready[i] );
|
||||
|
|
Loading…
Reference in New Issue