aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index c9775b52..35ad71c0 100644
--- a/terminal.c
+++ b/terminal.c
@@ -936,6 +936,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
return term;
err:
+ term->is_shutting_down = true;
term_destroy(term);
return NULL;