From bb83f070ae7ea041c03c2b497c4fd884c2b0717b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 27 Feb 2013 11:08:08 +0100 Subject: [PATCH] Load threads::shared before Wx. #1018 --- lib/Slic3r.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index f9fb3319d..7d1c4dd67 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -18,7 +18,7 @@ sub debugf { our $have_threads; BEGIN { use Config; - $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1"; + $have_threads = $Config{useithreads} && eval "use threads; use threads::shared; use Thread::Queue; 1"; } warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"