mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Compatibility with recent Moo changes for threads global destruction. #379
This commit is contained in:
@@ -15,8 +15,10 @@ sub debugf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# load threads before Moo as required by it
|
# load threads before Moo as required by it
|
||||||
use Config;
|
BEGIN {
|
||||||
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
|
use Config;
|
||||||
|
our $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
|
||||||
|
}
|
||||||
|
|
||||||
use Moo;
|
use Moo;
|
||||||
use Slic3r::Config;
|
use Slic3r::Config;
|
||||||
|
|||||||
Reference in New Issue
Block a user