aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/process.c b/process.c
index 16387551d1..b9c7c4a151 100644
--- a/process.c
+++ b/process.c
@@ -1506,9 +1506,8 @@ static void
before_fork_ruby(void)
{
if (mjit_enabled) {
- /* Avoid leaving locked mutex and units being modified for child process. Here may not be
- safe for proceeding SIGCHLD handler, so this does not allow RUBY_VM_CHECK_INTS. */
- mjit_pause_without_ints();
+ /* avoid leaving locked mutex and units being modified for child process. */
+ mjit_pause(FALSE);
}
before_exec();