Avoid memory leaks by breaking reference cycle: Print -> Fill -> Print
This commit is contained in:
parent
aac2c45450
commit
8c26f0da30
@ -17,7 +17,7 @@ use Slic3r::Geometry::Clipper qw(union_ex diff diff_ex intersection_ex offset);
|
||||
use Slic3r::Surface ':types';
|
||||
|
||||
|
||||
has 'print' => (is => 'ro', required => 1);
|
||||
has 'print' => (is => 'ro', required => 1, weak_ref => 1);
|
||||
has 'fillers' => (is => 'rw', default => sub { {} });
|
||||
|
||||
our %FillTypes = (
|
||||
|
Loading…
Reference in New Issue
Block a user