We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e3e50 commit 4aed176Copy full SHA for 4aed176
src/node_platform.cc
@@ -409,6 +409,9 @@ void PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<Task> task) {
409
InternalCallbackScope::kNoFlags);
410
task->Run();
411
} else {
412
+ // The task is moved out of InternalCallbackScope if env is not available.
413
+ // This is a required else block, and should not be removed.
414
+ // See comment: https://github.com/nodejs/node/pull/34688#pullrequestreview-463867489
415
416
}
417
0 commit comments