summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/client.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/client.zig b/runtime/client.zig
index 544be588..75518552 100644
--- a/runtime/client.zig
+++ b/runtime/client.zig
@@ -174,7 +174,8 @@ pub fn Loop(comptime Frontend: type) type {
}
// The session again, the core it leaves held meanwhile: its
// blobs are not sent again.
- s.r = replica.join(s.gpa, &s.joined, s.dial.path, s.dial.session, s.o, s.have, &s.why, s.r) orelse return .failed;
+ s.r = replica.join(s.gpa, &s.joined, s.dial.path, s.dial.session, s.o, s.have, &s.why, s.r) orelse
+ return if (replica.ended(&s.why)) .gone else .failed;
}
}