diff options
Diffstat (limited to 'runtime/session.zig')
| -rw-r--r-- | runtime/session.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/session.zig b/runtime/session.zig index 9c8446e3..8630495c 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -129,9 +129,8 @@ pub fn Loop(comptime Frontend: type) type { l.peers.boundary(l.core); // A pair's session with no daemon ends with its last link: // nothing could attach to it again; with one, when its last - // client closed its window (a close, not a loss), no Detach - // typed in any. - if (o.pair != null and l.peers.count() == 0 and (daemon.link < 0 or l.peers.closed)) break; + // client left with a close (not a loss) and it is not kept. + if (l.peers.count() == 0 and (l.peers.closed or (o.pair != null and daemon.link < 0))) break; fe.sent(); upgrade.locate(); // Asked in the step (the word), done between steps: the |
