mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Apparent fix for "Attempt to free unreferenced scalar"
This commit is contained in:
@@ -544,6 +544,11 @@ sub export_gcode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$self->statusbar->StartBusy;
|
$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) {
|
if ($Slic3r::have_threads) {
|
||||||
@_ = ();
|
@_ = ();
|
||||||
$self->{export_thread} = threads->create(sub {
|
$self->{export_thread} = threads->create(sub {
|
||||||
|
|||||||
Reference in New Issue
Block a user