Fix win32 SGThread::join timeout.
This commit is contained in:
@@ -71,7 +71,7 @@ struct SGThread::PrivateData {
|
||||
{
|
||||
if (_handle == INVALID_HANDLE_VALUE)
|
||||
return;
|
||||
DWORD ret = WaitForSingleObject(_handle, 0);
|
||||
DWORD ret = WaitForSingleObject(_handle, INFINITE);
|
||||
if (ret != WAIT_OBJECT_0)
|
||||
return;
|
||||
CloseHandle(_handle);
|
||||
|
||||
Reference in New Issue
Block a user