sig-monitor: Fix exit in signal handler
[src/app-framework-binder.git] / src / jobs.c
index a518766..94bdce8 100644 (file)
@@ -838,7 +838,8 @@ void jobs_exit(void (*handler)())
                t = t->next;
        }
 
-       /* wait the threads */
+       /* wake up the threads */
+       evloop_wakeup();
        pthread_cond_broadcast(&cond);
 
        /* leave */