mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix Cancel button. #1461
This commit is contained in:
@@ -687,6 +687,7 @@ sub export_gcode2 {
|
||||
my ($config, $extra_variables, $output_file, %params) = @_;
|
||||
local $SIG{'KILL'} = sub {
|
||||
Slic3r::debugf "Exporting cancelled; exiting thread...\n";
|
||||
Slic3r::thread_cleanup();
|
||||
threads->exit();
|
||||
} if $Slic3r::have_threads;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user