mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-10 03:22:25 +00:00
Fix Cancel button. #1461
This commit is contained in:
1 parent
4c2c31b554
commit
127e38d4a4
1 file changed
+1
@@ -687,6 +687,7 @@ sub export_gcode2 {
|
|||||||
my ($config, $extra_variables, $output_file, %params) = @_;
|
my ($config, $extra_variables, $output_file, %params) = @_;
|
||||||
local $SIG{'KILL'} = sub {
|
local $SIG{'KILL'} = sub {
|
||||||
Slic3r::debugf "Exporting cancelled; exiting thread...\n";
|
Slic3r::debugf "Exporting cancelled; exiting thread...\n";
|
||||||
|
Slic3r::thread_cleanup();
|
||||||
threads->exit();
|
threads->exit();
|
||||||
} if $Slic3r::have_threads;
|
} if $Slic3r::have_threads;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user