mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed potential crashes due to the Perl worker thread releasing
memory allocated by the GUI thread.
This commit is contained in:
		
							parent
							
								
									3b0eb6b786
								
							
						
					
					
						commit
						a05c440263
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -161,7 +161,12 @@ sub thread_cleanup {
 | 
			
		|||
    *Slic3r::Print::SupportMaterial2::DESTROY = sub {};
 | 
			
		||||
    *Slic3r::TriangleMesh::DESTROY          = sub {};
 | 
			
		||||
    *Slic3r::GUI::AppConfig::DESTROY        = sub {};
 | 
			
		||||
    *Slic3r::GUI::GCodePreviewData::DESTROY = sub {};
 | 
			
		||||
    *Slic3r::GUI::OctoPrint::DESTROY        = sub {};
 | 
			
		||||
    *Slic3r::GUI::PresetBundle::DESTROY     = sub {};
 | 
			
		||||
    *Slic3r::GUI::PresetHints::DESTROY      = sub {};
 | 
			
		||||
    *Slic3r::GUI::PresetUpdater::DESTROY    = sub {};
 | 
			
		||||
    *Slic3r::GUI::TabIface::DESTROY         = sub {};
 | 
			
		||||
    return undef;  # this prevents a "Scalars leaked" warning
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue