PresetUpdater: Fix double free from Perl
This commit is contained in:
parent
9b5480b7ba
commit
93a902a757
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::PresetUpdater::DESTROY = sub {};
|
||||||
return undef; # this prevents a "Scalars leaked" warning
|
return undef; # this prevents a "Scalars leaked" warning
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue