aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index c0fcc63fb0..9727140597 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -56,6 +56,7 @@
#include "os/input.h"
#include "os/shell.h"
#include "os/signal.h"
+#include "os/job.h"
#include "os_unixx.h" /* unix includes for os_unix.c only */
@@ -589,6 +590,7 @@ void mch_exit(int r)
{
exiting = TRUE;
+ job_teardown();
{
settmode(TMODE_COOK);