mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Fix of the previous commit. Once the Slic3r::GUI::Tab was rewritten
from Ref<TabIface> to TabIface*, Perl takes ownership and the Tab is being incorrectly deleted by the background threads.
This commit is contained in:
parent
8ab62d702c
commit
d1580f67df
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ sub thread_cleanup {
|
||||||
*Slic3r::TriangleMesh::DESTROY = sub {};
|
*Slic3r::TriangleMesh::DESTROY = sub {};
|
||||||
*Slic3r::GUI::AppConfig::DESTROY = sub {};
|
*Slic3r::GUI::AppConfig::DESTROY = sub {};
|
||||||
*Slic3r::GUI::PresetBundle::DESTROY = sub {};
|
*Slic3r::GUI::PresetBundle::DESTROY = sub {};
|
||||||
|
*Slic3r::GUI::Tab::DESTROY = sub {};
|
||||||
return undef; # this prevents a "Scalars leaked" warning
|
return undef; # this prevents a "Scalars leaked" warning
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue