mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
Improvement to https://github.com/lightpanda-io/browser/pull/2246 In that PR, the check for `v8__Isolate__IsExecutionTerminating` guarded runMicrotasks from running when the execution was terminated, but what if termination happens immediately after? This adds a mutex to ensure that the isolate cannot be terminated while microtasks are being processed.