deferred config saving
first save config and then close window issue #1723
This commit is contained in:
		
							parent
							
								
									8b0f5bedc4
								
							
						
					
					
						commit
						3c5a123283
					
				| 
						 | 
				
			
			@ -759,13 +759,13 @@ int main(int argc, char** argv) {
 | 
			
		|||
 | 
			
		||||
  g.loop();
 | 
			
		||||
  logI("closing GUI.");
 | 
			
		||||
  g.finish();
 | 
			
		||||
  g.finish(true);
 | 
			
		||||
#else
 | 
			
		||||
  logE("GUI requested but GUI not compiled!");
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
  logI("stopping engine.");
 | 
			
		||||
  e.quit();
 | 
			
		||||
  e.quit(false);
 | 
			
		||||
 | 
			
		||||
  finishLogFile();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue