From 8b877ac38e96424a08a8b8eb713ef4b3cf0064be Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 28 Mar 2016 19:16:20 +0200 Subject: patch 7.4.1669 Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later. --- src/misc2.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/misc2.c') diff --git a/src/misc2.c b/src/misc2.c index ca340b71e..a0cce07f6 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -6230,6 +6230,9 @@ parse_queued_messages(void) netbeans_parse_messages(); # endif # ifdef FEAT_JOB_CHANNEL + /* Write any buffer lines still to be written. */ + channel_write_any_lines(); + /* Process the messages queued on channels. */ channel_parse_messages(); # endif -- cgit v1.2.1