ws2_32/tests: Wait for thread test before returning (valgrind).
This commit is contained in:
parent
50ad765cd6
commit
e3998e3988
|
@ -5454,6 +5454,7 @@ static void test_WSARecv(void)
|
|||
|
||||
send(src, "test message", sizeof("test message"), 0);
|
||||
thread = CreateThread(NULL, 0, recv_thread, &dest, 0, &id);
|
||||
WaitForSingleObject(thread, 3000);
|
||||
CloseHandle(thread);
|
||||
|
||||
end:
|
||||
|
|
Loading…
Reference in New Issue