Fix a deadlock after pause/next
Oops, forgot to unlock a mutex git-svn-id: https://svn.musicpd.org/mpd/trunk@7348 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
baf9b94ecf
commit
30bd8b2c0f
@ -126,5 +126,6 @@ void wait_main_task(void)
|
||||
|
||||
pthread_mutex_lock(&main_wakeup_mutex);
|
||||
pthread_cond_wait(&main_wakeup, &main_wakeup_mutex);
|
||||
pthread_mutex_unlock(&main_wakeup_mutex);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user