Fix several shutdown related bugs

This commit is contained in:
Mikayla 2023-11-14 11:42:58 -08:00
parent 5c8db996ee
commit 3419aaf17e
No known key found for this signature in database
5 changed files with 19 additions and 9 deletions

View file

@ -167,7 +167,7 @@ fn main() {
panic!("unexpected message");
}
cx.update(|cx| cx.quit()).ok();
cx.update(|cx| cx.shutdown()).ok();
})
.detach();
});