mirror of
				https://github.com/yuzu-emu/yuzu.git
				synced 2025-11-04 02:33:42 +00:00 
			
		
		
		
	Qt: Shutdown emulation session only if EmuThread exists.
This commit is contained in:
		
							parent
							
								
									9d8e1f7a92
								
							
						
					
					
						commit
						c3bd797917
					
				@ -337,7 +337,9 @@ void GMainWindow::closeEvent(QCloseEvent* event)
 | 
			
		||||
    settings.setValue("firstStart", false);
 | 
			
		||||
    SaveHotkeys(settings);
 | 
			
		||||
 | 
			
		||||
    ShutdownGame();
 | 
			
		||||
    // Shutdown session if the emu thread is active...
 | 
			
		||||
    if (emu_thread != nullptr)
 | 
			
		||||
        ShutdownGame();
 | 
			
		||||
 | 
			
		||||
    render_window->close();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user