From f24c65ea7e68d97e92e5ccdb0e1a95c017dc5ebf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 6 Sep 2022 18:25:16 -0700 Subject: [PATCH] Skip calling check_unit_queue with mjit_opts.custom fixing the behavior of b726c06e7eeafff52e368179dbe79a11b1aff975 --- mjit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mjit.c b/mjit.c index d3e18c112c..04bdf404b7 100644 --- a/mjit.c +++ b/mjit.c @@ -1237,6 +1237,7 @@ static void mjit_wait(struct rb_iseq_constant_body *body); static void check_unit_queue(void) { + if (mjit_opts.custom) return; if (worker_stopped) return; if (current_cc_pid != 0) return; // still compiling