only turn off thread reporting if it is already on
parent
57dbe95c04
commit
4dcb31f26b
|
@ -59,7 +59,7 @@ class ThreadManager < Array
|
|||
|
||||
# XXX: Preserve Ruby < 2.5 thread exception reporting behavior
|
||||
# https://ruby-doc.org/core-2.5.0/Thread.html#method-c-report_on_exception
|
||||
Thread.report_on_exception = false
|
||||
Thread.report_on_exception = false if Thread.report_on_exception
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue