Skip to content
Snippets Groups Projects
Commit 01111760 authored by Cheng Shao's avatar Cheng Shao :beach:
Browse files

wasm: properly pin the raiseJSException closure

We used to use keepAlive# to pin the raiseJSException closure when
blocking on a JSFFI import thunk, since it can potentially be used by
RTS. But raiseJSException may be used in other places as well (e.g.
the promise.throwTo logic), and it's better to simply unconditionally
pin it in the JSFFI initialization logic.

(cherry picked from commit da34f0aa)
(cherry picked from commit feecaeed)
parent 12d4c9b1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment