diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-14 21:32:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-14 21:32:02 +0100 |
commit | cd1a62d468a55aca68deb3139d83530c7c23568d (patch) | |
tree | 37644066fac5d64c48b955b2f4436f051e661fe9 /src/proto/channel.pro | |
parent | 142a9758151e470307a80ea37b06ea34558ff5b3 (diff) |
patch 8.1.0590: when a job ends the closed channels are not handledv8.1.0590
Problem: When a job ends the closed channels are not handled.
Solution: When a job is detected to have ended, check the channels again.
(closes #3530)
Diffstat (limited to 'src/proto/channel.pro')
-rw-r--r-- | src/proto/channel.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index 57b958ae10..e11cd3a14f 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -65,7 +65,7 @@ job_T *job_alloc(void); void job_set_options(job_T *job, jobopt_T *opt); void job_stop_on_exit(void); int has_pending_job(void); -void job_check_ended(void); +int job_check_ended(void); job_T *job_start(typval_T *argvars, char **argv_arg, jobopt_T *opt_arg, int is_terminal); char *job_status(job_T *job); void job_info(job_T *job, dict_T *dict); |