0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1850

Problem:    GUI freezes when using a job. (Shougo)
Solution:   Unregister the channel when there is an input error.
This commit is contained in:
Bram Moolenaar 2016-05-28 13:20:31 +02:00
parent 5850a764ea
commit bf981eeb6b
2 changed files with 7 additions and 0 deletions

View File

@ -2868,6 +2868,11 @@ channel_close_on_error(channel_T *channel, char *func)
* died. Don't close the channel right away, it may be the wrong moment * died. Don't close the channel right away, it may be the wrong moment
* to invoke callbacks. */ * to invoke callbacks. */
channel->ch_to_be_closed = TRUE; channel->ch_to_be_closed = TRUE;
#ifdef FEAT_GUI
/* Stop listening to GUI events right away. */
channel_gui_unregister(channel);
#endif
} }
static void static void

View File

@ -753,6 +753,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 */
/**/
1850,
/**/ /**/
1849, 1849,
/**/ /**/