]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0588: job_stop() often assumes the channel will be closed v8.0.0588
authorBram Moolenaar <Bram@vim.org>
Sat, 29 Apr 2017 14:24:38 +0000 (16:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 29 Apr 2017 14:24:38 +0000 (16:24 +0200)
commit1a9020d4cba6d90688506102ab587c371ff72f8b
tree54aab7bd260a8b04c8e7ad5e372b8dc7ddaef05a
parent0635ee682481e2da0d39cd970b3cb573a1c12a17
patch 8.0.0588: job_stop() often assumes the channel will be closed

Problem:    job_stop() often assumes the channel will be closed, while the job
            may not actually be stopped. (Martin Gammelsæter)
Solution:   Only assume the job stops on "kill".  Don't send a signal if the
            job has already ended. (closes #1632)
src/channel.c
src/version.c