mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02: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:
1 parent
8ab62d702c
commit
d1580f67df
1 file changed
+1
@@ -162,6 +162,7 @@ sub thread_cleanup {
|
||||
*Slic3r::TriangleMesh::DESTROY = sub {};
|
||||
*Slic3r::GUI::AppConfig::DESTROY = sub {};
|
||||
*Slic3r::GUI::PresetBundle::DESTROY = sub {};
|
||||
*Slic3r::GUI::Tab::DESTROY = sub {};
|
||||
return undef; # this prevents a "Scalars leaked" warning
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user