From 8f7ab4bd1e66fd532bdef6559502d961f03b54d8 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 23 Oct 2019 23:16:45 +0200 Subject: [PATCH] patch 8.1.2204: crash on exit when closing terminals Problem: Crash on exit when closing terminals. (Corey Hickey) Solution: Actually wait for the job to stop. (closes #5100) --- src/terminal.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/terminal.c b/src/terminal.c index 07b2e973e..b50198ca5 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -1494,7 +1494,7 @@ term_try_stop_job(buf_T *buf) if (job->jv_status >= JOB_ENDED) return OK; - ui_delay(10L, FALSE); + ui_delay(10L, TRUE); term_flush_messages(); } return FAIL; diff --git a/src/version.c b/src/version.c index e1bc377f9..09e8ad3dc 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2204, /**/ 2203, /**/ -- 2.50.1