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:
Eric Wong 2008-04-12 10:27:53 +00:00
parent baf9b94ecf
commit 30bd8b2c0f

View File

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