comparison src/eval.c @ 8240:60586ce747c4 v7.4.1413

commit https://github.com/vim/vim/commit/8b374215ccd35003b95ba1df8f12e03bf8a8adc3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 24 20:43:06 2016 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Wed, 24 Feb 2016 20:45:08 +0100
parents 51ca0cee512e
children c4ffdda8cdfd
comparison
equal deleted inserted replaced
8239:6d17282085cd 8240:60586ce747c4
10211 f_ch_close(typval_T *argvars, typval_T *rettv UNUSED) 10211 f_ch_close(typval_T *argvars, typval_T *rettv UNUSED)
10212 { 10212 {
10213 channel_T *channel = get_channel_arg(&argvars[0]); 10213 channel_T *channel = get_channel_arg(&argvars[0]);
10214 10214
10215 if (channel != NULL) 10215 if (channel != NULL)
10216 channel_close(channel); 10216 channel_close(channel, FALSE);
10217 } 10217 }
10218 10218
10219 # ifdef FEAT_JOB 10219 # ifdef FEAT_JOB
10220 /* 10220 /*
10221 * "ch_getjob()" function 10221 * "ch_getjob()" function