Everywhere: Replace most cases of exit() with Application::quit()

Application::quit() is nicer for most cases where exit() is used. Cases
where exit() is used intentionally for early termination are left
intact.
This commit is contained in:
Timothy 2021-08-03 22:05:07 +10:00 committed by Andreas Kling
commit 73c1b1617a
Notes: sideshowbarker 2024-07-18 07:31:20 +09:00
5 changed files with 12 additions and 11 deletions

View file

@ -34,7 +34,6 @@ void ClientConnection::die()
{
s_connections.remove(client_id());
GUI::Application::the()->quit();
exit(0);
}
RefPtr<GUI::Window> ClientConnection::create_dummy_child_window(i32 window_server_client_id, i32 parent_window_id)