forked from aniani/vim
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:
parent
823edd1eed
commit
8f7ab4bd1e
@ -1494,7 +1494,7 @@ term_try_stop_job(buf_T *buf)
|
|||||||
if (job->jv_status >= JOB_ENDED)
|
if (job->jv_status >= JOB_ENDED)
|
||||||
return OK;
|
return OK;
|
||||||
|
|
||||||
ui_delay(10L, FALSE);
|
ui_delay(10L, TRUE);
|
||||||
term_flush_messages();
|
term_flush_messages();
|
||||||
}
|
}
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2204,
|
||||||
/**/
|
/**/
|
||||||
2203,
|
2203,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user