Fix several shutdown related bugs

This commit is contained in:
Mikayla
2023-11-14 11:42:58 -08:00
parent 5c8db996ee
commit 3419aaf17e
5 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ fn main() {
panic!("unexpected message");
}
cx.update(|cx| cx.quit()).ok();
cx.update(|cx| cx.shutdown()).ok();
})
.detach();
});