Merge pull request #416 from Sahnvour/fix_posix_wait

fix undefined behavior in ma_thread_wait__posix
This commit is contained in:
David Reid
2022-01-21 17:23:05 +10:00
committed by GitHub
-1
View File
@@ -15534,7 +15534,6 @@ static ma_result ma_thread_create__posix(ma_thread* pThread, ma_thread_priority
static void ma_thread_wait__posix(ma_thread* pThread)
{
pthread_join((pthread_t)*pThread, NULL);
pthread_detach((pthread_t)*pThread);
}