1
0
Fork 0
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:
Takashi Kokubun 2022-09-06 18:25:16 -07:00
parent 6a43245e6c
commit f24c65ea7e
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

1
mjit.c
View file

@ -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