mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user