Browse Source

Load threads::shared before Wx. #1018

Alessandro Ranellucci 12 years ago
parent
commit
bb83f070ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Slic3r.pm

+ 1 - 1
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"