Windows: Thread:wait no longer destroys thread;

This commit is contained in:
bjorn 2020-09-19 17:42:55 -07:00
parent 92ef5ee02d
commit d28d96008c
1 changed files with 0 additions and 1 deletions

View File

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