mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 16:24:04 +02:00
Merge pull request #416 from Sahnvour/fix_posix_wait
fix undefined behavior in ma_thread_wait__posix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user