Don't override Object#fork in Ruby 3.0
It's no longer necessary with https://bugs.ruby-lang.org/issues/9573
This commit is contained in:
parent
581aac754c
commit
d63add1039
@ -40,7 +40,7 @@ def check!
|
||||
|
||||
def hook!
|
||||
if Process.respond_to?(:fork)
|
||||
::Object.prepend(CoreExtPrivate)
|
||||
::Object.prepend(CoreExtPrivate) if RUBY_VERSION < "3.0"
|
||||
::Kernel.prepend(CoreExtPrivate)
|
||||
::Kernel.singleton_class.prepend(CoreExt)
|
||||
::Process.singleton_class.prepend(CoreExt)
|
||||
|
Loading…
Reference in New Issue
Block a user