remove some debug prints

These are no longer needed
This commit is contained in:
Wez Furlong committed 2023-02-05 18:00:22 -07:00
1 parent 2271c3ae59
commit d2fd2c6b1a
2 files changed
-4

No files matched your search

-1
View File
@@ -233,7 +233,6 @@ impl GuiFrontEnd {
// If we get here, there are no windows that could have received
// the QuitApplication command, therefore it must be ok to quit
// immediately
log::info!("QuitApplication over here");
Connection::get().unwrap().terminate_message_loop();
}
KeyAssignment::SpawnWindow => {
-3
View File
@@ -111,17 +111,14 @@ impl ConnectionOps for Connection {
}
fn terminate_message_loop(&self) {
log::info!("terminate_message_loop called");
unsafe {
// bounce via an event callback to encourage stop to apply
// to the correct level of run loop
promise::spawn::spawn_into_main_thread(async move {
log::info!("terminate_message_loop helper called");
let () = msg_send![NSApp(), stop: nil];
// Generate a UI event so that the run loop breaks out
// after receiving the stop
let () = msg_send![NSApp(), abortModal];
log::info!("I should really be stopping now");
})
.detach();
}