Fix several shutdown related bugs
This commit is contained in:
parent
5c8db996ee
commit
3419aaf17e
5 changed files with 19 additions and 9 deletions
|
@ -167,7 +167,7 @@ fn main() {
|
|||
panic!("unexpected message");
|
||||
}
|
||||
|
||||
cx.update(|cx| cx.quit()).ok();
|
||||
cx.update(|cx| cx.shutdown()).ok();
|
||||
})
|
||||
.detach();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue