1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Free @_ before spawning a new thread (known old Perl bug) as an attempt to fix the unref scalars error

This commit is contained in:
Alessandro Ranellucci
2013-05-19 17:34:33 +02:00
parent 48e37f97b4
commit 5494f4f385
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -288,6 +288,7 @@ sub check_version {
my %p = @_;
Slic3r::debugf "Checking for updates...\n";
@_ = ();
threads->create(sub {
my $ua = LWP::UserAgent->new;
$ua->timeout(10);