fix: shutdown project_manager before restart
This commit is contained in:
parent
184755a06f
commit
1c01773a09
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) tp.result {
|
|||
|
||||
if (try m.match(.{"restart"})) {
|
||||
_ = try self.mainview.msg(.{"write_restore_info"});
|
||||
project_manager.shutdown();
|
||||
return tp.exit("restart");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue