Skip to content

Pass JSContext to JSInterruptHandler - #1802

Merged
bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1789
Oct 5, 2026
Merged

bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1789

Conversation

@bnoordhuis

Copy link
Copy Markdown
Contributor

Pass JSContext instead of JSRuntime to the callback, to allow better targeted interruption of JS code.

Fixes: #1789

Pass JSContext instead of JSRuntime to the callback, to allow better
targeted interruption of JS code.

Fixes: quickjs-ng#1789
@bnoordhuis
bnoordhuis merged commit 876442b into quickjs-ng:master Oct 5, 2026
128 checks passed
@bnoordhuis
bnoordhuis deleted the fix1789 branch October 5, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make JSInterruptHandler receive a JSContext* instead of JSRuntime*

2 participants