macOS: fixes app termination (#1234)
* fixes app termination * applies fmt * fmt all * updates changelog * keeps formating consistent * fixes misstype
This commit is contained in:
parent
429bbfade0
commit
6608a0241d
2 changed files with 3 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ impl AppState {
|
|||
HANDLER.set_in_callback(false);
|
||||
}
|
||||
if HANDLER.should_exit() {
|
||||
let _: () = unsafe { msg_send![NSApp(), stop: nil] };
|
||||
let _: () = unsafe { msg_send![NSApp(), terminate: nil] };
|
||||
return;
|
||||
}
|
||||
HANDLER.update_start_time();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue