Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don’t let exits the v8 isolate twice from a thread if it failed …
…to initialize After exiting the V8 loop with an exception during main script initialization, an isolate was explicitly detached from the thread by `scopeguard`. Turns out an isolate calls the logic to detach itself from the thread when it is dropped by default, so the introduction of `scopeguard` was wrong. (cherry picked from commit 5359280978dacf6e80a603a0b1ea0344c74b6270)
- Loading branch information