Temporary workarond for an upstream bug in Moo which causes failure when running with threads. #1330
This commit is contained in:
parent
4bc1c6e3d8
commit
2b8662cf0c
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ our $have_threads;
|
|||
BEGIN {
|
||||
use Config;
|
||||
$have_threads = $Config{useithreads} && eval "use threads; use threads::shared; use Thread::Queue; 1";
|
||||
|
||||
### temporarily disable threads if using the broken Moo version
|
||||
use Moo;
|
||||
$have_threads = 0 if $Moo::VERSION == 1.003000;
|
||||
}
|
||||
|
||||
warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"
|
||||
|
|
Loading…
Reference in a new issue