mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
PresetUpdater: Fix double free from Perl
This commit is contained in:
@@ -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::PresetUpdater::DESTROY = sub {};
|
||||||
return undef; # this prevents a "Scalars leaked" warning
|
return undef; # this prevents a "Scalars leaked" warning
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user