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:
@@ -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
|
||||
|
Reference in New Issue
Block a user