# HG changeset patch # User Christian Brabandt # Date 1464435005 -7200 # Node ID dec3b7b977c04b66365fc56a2b0a2514c099c375 # Parent 09a77387f1d977817e8ce7b1f028d015f94382d2 commit https://github.com/vim/vim/commit/bf981eeb6b4ee63ae8543a7f9865ab700159a79c Author: Bram Moolenaar Date: Sat May 28 13:20:31 2016 +0200 patch 7.4.1850 Problem: GUI freezes when using a job. (Shougo) Solution: Unregister the channel when there is an input error. diff --git a/src/channel.c b/src/channel.c --- a/src/channel.c +++ b/src/channel.c @@ -2868,6 +2868,11 @@ channel_close_on_error(channel_T *channe * died. Don't close the channel right away, it may be the wrong moment * to invoke callbacks. */ channel->ch_to_be_closed = TRUE; + +#ifdef FEAT_GUI + /* Stop listening to GUI events right away. */ + channel_gui_unregister(channel); +#endif } static void diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1850, +/**/ 1849, /**/ 1848,