File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/server/ruby/lib/sonicpi Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 40
40
require 'set'
41
41
require 'ruby-beautify'
42
42
require 'securerandom'
43
+ require 'monitor'
43
44
require 'active_support/core_ext/integer/inflections'
44
45
45
46
@@ -829,7 +830,7 @@ def __set_default_system_thread_locals!
829
830
# over the alternative of a global no_kill mutex. Killing a Run
830
831
# then essentially turns into waiting for each no_kill mutext for
831
832
# every sub-in_thread before killing them.
832
- __system_thread_locals . set_local :sonic_pi_local_spider_no_kill_mutex , Mutex . new
833
+ __system_thread_locals . set_local :sonic_pi_local_spider_no_kill_mutex , Monitor . new
833
834
834
835
# Reset subthreads thread local to the empty set. This shouldn't
835
836
# be inherited from the parent thread.
You can’t perform that action at this time.
0 commit comments