aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_notify.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-04-12 10:27:53 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 10:27:53 +0000
commit30bd8b2c0f08d2a8e571f4a2db3ece347a64f87a (patch)
tree0e3b29d4d2232883a036c0f492dbb387fa119a11 /src/main_notify.c
parentbaf9b94ecf3872f35717c3236a0040160ec99aef (diff)
downloadmpd-30bd8b2c0f08d2a8e571f4a2db3ece347a64f87a.tar.gz
mpd-30bd8b2c0f08d2a8e571f4a2db3ece347a64f87a.tar.xz
mpd-30bd8b2c0f08d2a8e571f4a2db3ece347a64f87a.zip
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
Diffstat (limited to '')
-rw-r--r--src/main_notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main_notify.c b/src/main_notify.c
index bb5db8259..a358a7053 100644
--- a/src/main_notify.c
+++ b/src/main_notify.c
@@ -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);
}