mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-02 16:54:58 +08:00
Compatibility with recent Moo changes for threads global destruction. #379
This commit is contained in:
parent
181f750618
commit
cbd77cd71b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user