mirror of https://github.com/bjornbytes/lovr.git
Windows: Thread:wait no longer destroys thread;
This commit is contained in:
parent
92ef5ee02d
commit
d28d96008c
|
@ -682,7 +682,6 @@ int thrd_join(thrd_t thr, int *res)
|
|||
return thrd_error;
|
||||
}
|
||||
}
|
||||
CloseHandle(thr);
|
||||
#elif defined(_TTHREAD_POSIX_)
|
||||
void *pres;
|
||||
if (pthread_join(thr, &pres) != 0)
|
||||
|
|
Loading…
Reference in New Issue