commit | 8f7ab4bd1e66fd532bdef6559502d961f03b54d8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Oct 23 23:16:45 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Oct 23 23:16:45 2019 +0200 |
tree | 0db32b5f8e2cbcdea2469ef4739655b1cd49e0e0 | |
parent | 823edd1eed00329e4b269991155bbdb1d9aaa540 [diff] [blame] |
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)
diff --git a/src/terminal.c b/src/terminal.c index 07b2e97..b50198c 100644 --- a/src/terminal.c +++ b/src/terminal.c
@@ -1494,7 +1494,7 @@ if (job->jv_status >= JOB_ENDED) return OK; - ui_delay(10L, FALSE); + ui_delay(10L, TRUE); term_flush_messages(); } return FAIL;