1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Compatibility with recent Moo changes for threads global destruction. #379

This commit is contained in:
Alessandro Ranellucci
2012-05-21 18:44:31 +02:00
parent 181f750618
commit cbd77cd71b
+4 -2
View File
@@ -15,8 +15,10 @@ sub debugf {
}
# load threads before Moo as required by it
use Config;
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
BEGIN {
use Config;
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
}
use Moo;
use Slic3r::Config;