mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Merge pull request #67421 from Sauermann/fix-failure-exit-code
Fix Godot exiting with unexpected failure code
This commit is contained in:
		
						commit
						9ffa86357d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -69,6 +69,7 @@ int main(int argc, char *argv[]) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	if (Main::start()) {
 | 
			
		||||
		os.set_exit_code(EXIT_SUCCESS);
 | 
			
		||||
		os.run(); // it is actually the OS that decides how to run
 | 
			
		||||
	}
 | 
			
		||||
	Main::cleanup();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue