Commit 30bd8b2c authored by Eric Wong's avatar Eric Wong

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
parent baf9b94e
......@@ -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);
}
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