We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
1 parent 9c39b5e commit 2c6a4fdCopy full SHA for 2c6a4fd
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