diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index e55e24a7ad..5e91f56ce6 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -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 }