Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass context to interrupt handler #74

Closed
andrieshiemstra opened this issue Jun 27, 2021 · 1 comment
Closed

pass context to interrupt handler #74

andrieshiemstra opened this issue Jun 27, 2021 · 1 comment

Comments

@andrieshiemstra
Copy link

Currently the interrupt_handler is only passed the runtime, would it be possible to also pass the context?

It would help to determin which script is running by using JS_GetScriptOrModuleName

@andrieshiemstra
Copy link
Author

andrieshiemstra commented Jun 27, 2021

Nvm, you can just pass any context.

TooTallNate pushed a commit to TooTallNate/quickjs that referenced this issue Dec 18, 2023
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

No branches or pull requests

1 participant