mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip calling check_unit_queue with mjit_opts.custom
fixing the behavior of b726c06e7e
This commit is contained in:
parent
6a43245e6c
commit
f24c65ea7e
1 changed files with 1 additions and 0 deletions
1
mjit.c
1
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue