We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e7c2a commit 5e5bf0cCopy full SHA for 5e5bf0c
src/node_platform.cc
@@ -406,7 +406,7 @@ int NodePlatform::NumberOfWorkerThreads() {
406
}
407
408
void PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<Task> task) {
409
- if (isolate_->IsExecutionTerminating()) return task->Run();
+ if (isolate_->IsExecutionTerminating()) return;
410
DebugSealHandleScope scope(isolate_);
411
Environment* env = Environment::GetCurrent(isolate_);
412
if (env != nullptr) {
0 commit comments