summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 1d5d3c05..2369dd28 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -3786,6 +3786,10 @@ const Shell = struct {
s.ptys[pane] = null;
return;
};
+ // No room to wait for it here: a slot kept for it would refuse the
+ // next shell spawned into this pane until it was reaped.
+ host_io.retireShell(pt.pid);
+ s.ptys[pane] = null;
}
fn stopPtys(s: *Shell) void {