diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2017-08-26 16:41:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-26 16:41:35 +0200 |
| commit | 6e7a8c3fe282a0a2991be49dc388e5e484f88387 (patch) | |
| tree | eed287da4fb240f69e7e0c76adeba36e79be053d /src/nvim/event/process.c | |
| parent | 46a4099dfbc5066969f334b42bc5d92b1384db32 (diff) | |
| parent | 0f442c328e33a0c742df9283c1944c077d202a77 (diff) | |
| download | rneovim-6e7a8c3fe282a0a2991be49dc388e5e484f88387.tar.gz rneovim-6e7a8c3fe282a0a2991be49dc388e5e484f88387.tar.bz2 rneovim-6e7a8c3fe282a0a2991be49dc388e5e484f88387.zip | |
Merge #7081 from justinmk/rpcstop
rpc: close channel if stream was closed
Diffstat (limited to 'src/nvim/event/process.c')
| -rw-r--r-- | src/nvim/event/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/event/process.c b/src/nvim/event/process.c index c936583841..8371d3cd48 100644 --- a/src/nvim/event/process.c +++ b/src/nvim/event/process.c @@ -233,8 +233,7 @@ void process_stop(Process *proc) FUNC_ATTR_NONNULL_ALL switch (proc->type) { case kProcessTypeUv: // Close the process's stdin. If the process doesn't close its own - // stdout/stderr, they will be closed when it exits(possibly due to being - // terminated after a timeout) + // stdout/stderr, they will be closed when it exits (voluntarily or not). process_close_in(proc); ILOG("Sending SIGTERM to pid %d", proc->pid); uv_kill(proc->pid, SIGTERM); |