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
index 84dfcf7..f4dc323 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -2868,6 +2868,11 @@
* 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