Fixed one more memory leak

This commit is contained in:
Alessandro Ranellucci 2015-11-04 19:29:42 +01:00
parent 198dc7d3bd
commit 810d7ee1c0

View File

@ -224,7 +224,6 @@ sub new {
$self->object_list_changed; $self->object_list_changed;
EVT_BUTTON($self, $self->{btn_export_gcode}, sub { EVT_BUTTON($self, $self->{btn_export_gcode}, sub {
$self->export_gcode; $self->export_gcode;
Slic3r::thread_cleanup();
}); });
EVT_BUTTON($self, $self->{btn_send_gcode}, sub { EVT_BUTTON($self, $self->{btn_send_gcode}, sub {
$self->{send_gcode_file} = $self->export_gcode(Wx::StandardPaths::Get->GetTempDir()); $self->{send_gcode_file} = $self->export_gcode(Wx::StandardPaths::Get->GetTempDir());