To: vim_dev@googlegroups.com Subject: Patch 7.4.1850 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1850 Problem: GUI freezes when using a job. (Shougo) Solution: Unregister the channel when there is an input error. Files: src/channel.c *** ../vim-7.4.1849/src/channel.c 2016-05-27 19:59:43.823519882 +0200 --- src/channel.c 2016-05-28 13:10:38.622669020 +0200 *************** *** 2868,2873 **** --- 2868,2878 ---- * 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 *** ../vim-7.4.1849/src/version.c 2016-05-27 19:59:43.823519882 +0200 --- src/version.c 2016-05-28 13:19:58.846661313 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1850, /**/ -- Bypasses are devices that allow some people to dash from point A to point B very fast while other people dash from point B to point A very fast. People living at point C, being a point directly in between, are often given to wonder what's so great about point A that so many people from point B are so keen to get there and what's so great about point B that so many people from point A are so keen to get there. They often wish that people would just once and for all work out where the hell they wanted to be. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///