mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #763 from bunnei/qt-fix-crash
Qt: Shutdown emulation session only if EmuThread exists.
This commit is contained in:
		
						commit
						09c8110e1a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue