Fix threading issue with GUI. #1443 #1444

This commit is contained in:
Alessandro Ranellucci 2013-09-19 16:00:47 +02:00
parent afdb490cf1
commit ed529b62f3
5 changed files with 62 additions and 9 deletions

View file

@ -136,6 +136,7 @@ sub thread_cleanup {
*Slic3r::Surface::DESTROY = sub {};
*Slic3r::Surface::Collection::DESTROY = sub {};
*Slic3r::TriangleMesh::DESTROY = sub {};
return undef; # this prevents a "Scalars leaked" warning
}
sub encode_path {