From: Fabrice Bellard Date: Sat, 21 Nov 2026 13:44:42 +0000 (+0100) Subject: Poll for interrupts on a taken OP_with_* branch X-Git-Url: https://git.kaiwu.me/http/ngx_http_rewrite_module.html?a=commitdiff_plain;h=76feca5f0433bf1eef2653721a5b96e1289aecbd;p=quickjs.git Poll for interrupts on a taken OP_with_* branch --- diff --git a/quickjs.c b/quickjs.c index dd83cc9..fabeac6 100644 --- a/quickjs.c +++ b/quickjs.c @@ -21213,6 +21213,8 @@ static JSValue JS_CallInternal(JSContext *caller_ctx, JSValueConst func_obj, break; } pc += diff - 5; + if (unlikely(js_poll_interrupts(ctx))) + goto exception; } else { no_with: /* if not jumping, drop the object argument */