aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}