mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Apparent fix for "Attempt to free unreferenced scalar"
This commit is contained in:
		
							parent
							
								
									c43ef45064
								
							
						
					
					
						commit
						71d6f428ca
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -544,6 +544,11 @@ sub export_gcode { | |||
|     } | ||||
|      | ||||
|     $self->statusbar->StartBusy; | ||||
|      | ||||
|     # It looks like declaring a local $SIG{__WARN__} prevents the ugly | ||||
|     # "Attempt to free unreferenced scalar" warning... | ||||
|     local $SIG{__WARN__} = Slic3r::GUI::warning_catcher($self); | ||||
|      | ||||
|     if ($Slic3r::have_threads) { | ||||
|         @_ = (); | ||||
|         $self->{export_thread} = threads->create(sub { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci