mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX:fixed a crash caused by mobile devices when switching languages
Change-Id: I7f28bf6bd917b16a798eea9b661987205ab3e1c8
This commit is contained in:
		
							parent
							
								
									cb569fdb55
								
							
						
					
					
						commit
						4e4472c5b6
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		|  | @ -1157,6 +1157,10 @@ void GUI_App::shutdown() | |||
| { | ||||
|     BOOST_LOG_TRIVIAL(info) << "shutdown"; | ||||
| 
 | ||||
| 	if (m_removable_drive_manager) { | ||||
| 		removable_drive_manager()->shutdown(); | ||||
| 	} | ||||
| 
 | ||||
|     if (m_is_recreating_gui) return; | ||||
|     m_is_closing = true; | ||||
|     stop_sync_user_preset(); | ||||
|  |  | |||
|  | @ -387,6 +387,7 @@ std::string RemovableDriveManager::get_removable_drive_from_path(const std::stri | |||
| 
 | ||||
| void RemovableDriveManager::init(wxEvtHandler *callback_evt_handler) | ||||
| { | ||||
| 	//no need use assert
 | ||||
| 	assert(! m_initialized); | ||||
| 	assert(m_callback_evt_handler == nullptr); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang