diff src/proto/channel.pro @ 15160:ec67c6b8ef12 v8.1.0590

patch 8.1.0590: when a job ends the closed channels are not handled commit https://github.com/vim/vim/commit/cd1a62d468a55aca68deb3139d83530c7c23568d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 14 21:32:02 2018 +0100 patch 8.1.0590: when a job ends the closed channels are not handled 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 14 Dec 2018 21:45:05 +0100
parents d053ec57d886
children 1d2b5c016f17
line wrap: on
line diff
--- 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);