Commit 0072eb8b authored by David Reid's avatar David Reid Committed by GitHub

Merge pull request #416 from Sahnvour/fix_posix_wait

fix undefined behavior in ma_thread_wait__posix
parents 4f43538c e85d07d0
......@@ -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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment