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

This commit is contained in:
Wolfgang Schwotzer 2010-08-14 11:52:59 +02:00 committed by Alexandre Julliard
parent bd1941c3c2
commit d640d3fa5c
1 changed files with 3 additions and 1 deletions

View File

@ -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 );