summaryrefslogtreecommitdiffstats
path: root/src/jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jobs.c')
-rw-r--r--src/jobs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jobs.c b/src/jobs.c
index a518766b..94bdce86 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -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 */