diff --git a/process.c b/process.c index b37a37c084..12ea6eac86 100644 --- a/process.c +++ b/process.c @@ -3690,8 +3690,8 @@ rb_fork_ruby(int *status) while (1) { prefork(); - before_fork_ruby(); disable_child_handler_before_fork(&old); + before_fork_ruby(); pid = fork(); err = errno; after_fork_ruby();