mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									2caafacd9b
								
							
						
					
					
						commit
						73c1b1617a
					
				
					 5 changed files with 12 additions and 11 deletions
				
			
		|  | @ -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) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy
						Timothy