@triflare/fx 2.3.2-beta.1 → 2.3.3-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/product.yml
CHANGED
package/src/run/runner.js
CHANGED
|
@@ -412,6 +412,10 @@ async function runInVm({
|
|
|
412
412
|
}
|
|
413
413
|
ticks += 1;
|
|
414
414
|
if (explicitFailure) break;
|
|
415
|
+
// Let promise-based extension blocks settle between frames. Without this
|
|
416
|
+
// the loop never returns to the event loop, so a thread waiting on an
|
|
417
|
+
// extension promise would stay suspended and the run would time out.
|
|
418
|
+
await new Promise((resolve) => setImmediate(resolve));
|
|
415
419
|
}
|
|
416
420
|
|
|
417
421
|
if (explicitFailure) {
|