diff options
Diffstat (limited to 'dev/host_io.zig')
| -rw-r--r-- | dev/host_io.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/host_io.zig b/dev/host_io.zig index a22bf5ce..419c4570 100644 --- a/dev/host_io.zig +++ b/dev/host_io.zig @@ -52,7 +52,7 @@ pub fn stopWorkers() void { /// session is one view, the live one's (the tty's terminal, the window's /// window): the others are let go, as a detach of each. pub fn restoreCore(gpa: std.mem.Allocator, core: *pardes.Pardes, path: []const u8, peers: *replica.Peers, inotify_fd: c_int, watches: *file_watch.Table) ?*pardes.Pardes { - peers.dropAll(core); + peers.restoring(core); const bytes = pardes.dump.restoreBytes(core, gpa, path) catch |err| { core.reportError(.at(core.view().active), "Restore", err); return null; |
