A little simplification of the Perl side threading:

Only single level Perl worker threads are allowed.
This commit is contained in:
bubnikv 2017-06-08 18:53:33 +02:00
parent e0a24f94c0
commit 66f1ae003f
3 changed files with 15 additions and 49 deletions

View file

@ -350,7 +350,6 @@ sub check_version {
my $response = $ua->get('http://slic3r.org/updatecheck');
Wx::PostEvent($self, Wx::PlThreadEvent->new(-1, $VERSION_CHECK_EVENT,
threads::shared::shared_clone([ $response->is_success, $response->decoded_content, $manual_check ])));
Slic3r::thread_cleanup();
})->detach;
}