-
Philip Chimento authored
In order for FinalizationRegistry to work, the host needs to set a callback which will schedule the FinalizationRegistry callback to be run at an appropriate time. In SpiderMonkey, the jsshell does this after running microtasks (note that the callback may queue more microtasks.) We do the same here.
2710f9be