1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2016-02-24 20:43:06 +01:00
parent 68c85fcdf3
commit 8b374215cc
5 changed files with 9 additions and 7 deletions

View File

@@ -10213,7 +10213,7 @@ f_ch_close(typval_T *argvars, typval_T *rettv UNUSED)
channel_T *channel = get_channel_arg(&argvars[0]);
if (channel != NULL)
channel_close(channel);
channel_close(channel, FALSE);
}
# ifdef FEAT_JOB