| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2dc5db8 commit b1a7fda
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -260,6 +260,11 @@ void Worker::Run() { | |||
| 260 | 260 | ||
| 261 | 261 | DeleteFnPtr<Environment, FreeEnvironment> env_; | |
| 262 | 262 | auto cleanup_env = OnScopeLeave([&]() { | |
| 263 | + // TODO(addaleax): This call is harmless but should not be necessary. | ||
| 264 | + // Figure out why V8 is raising a DCHECK() here without it | ||
| 265 | + // (in test/parallel/test-async-hooks-worker-asyncfn-terminate-4.js). | ||
| 266 | + isolate_->CancelTerminateExecution(); | ||
| 267 | + | ||
| 263 | 268 | if (!env_) return; | |
| 264 | 269 | env_->set_can_call_into_js(false); | |
| 265 | 270 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments