commit | 8b374215ccd35003b95ba1df8f12e03bf8a8adc3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Feb 24 20:43:06 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 24 20:43:06 2016 +0100 |
tree | c17bebb4bfab82032e119c8060da706c70a7af7c | |
parent | 68c85fcdf31c104db21c96cd5871724e458c95ff [diff] [blame] |
patch 7.4.1413 Problem: When calling ch_close() the close callback is invoked, even though the docs say it isn't. (Christian J. Robinson) Solution: Don't call the close callback.
diff --git a/src/eval.c b/src/eval.c index b04b6c2..db9c6b7 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -10213,7 +10213,7 @@ channel_T *channel = get_channel_arg(&argvars[0]); if (channel != NULL) - channel_close(channel); + channel_close(channel, FALSE); } # ifdef FEAT_JOB