fix undefined behavior in ma_thread_wait__posix
Quoting man for pthread_detach: > The behavior is undefined if the value specified by the thread argument > to pthread_detach() does not refer to a joinable thread. Since the thread was joined right before, pthread_detach should not be called.
Showing
Please register or sign in to comment