Skip to content

Commit

Permalink
Previous commit broke everything
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed May 21, 2012
1 parent cbd77cd commit 4dd236d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Slic3r.pm
Expand Up @@ -15,9 +15,10 @@ sub debugf {
}

# load threads before Moo as required by it
our $have_threads;
BEGIN {
use Config;
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
$have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
}

use Moo;
Expand Down

0 comments on commit 4dd236d

Please sign in to comment.