aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/event/proc.c')
-rw-r--r--src/nvim/event/proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/event/proc.c b/src/nvim/event/proc.c
index 2955693687..e32bbbc29a 100644
--- a/src/nvim/event/proc.c
+++ b/src/nvim/event/proc.c
@@ -438,9 +438,9 @@ static void on_proc_exit(Proc *proc)
ILOG("child exited: pid=%d status=%d" PRIu64, proc->pid, proc->status);
// XXX: This assumes the TUI never spawns any other processes...?
- // if (ui_client_channel_id) {
- // exit_on_closed_chan(proc->status);
- // }
+ if (ui_client_channel_id) {
+ exit_on_closed_chan(proc->status);
+ }
// Process has terminated, but there could still be data to be read from the
// OS. We are still in the libuv loop, so we cannot call code that polls for