| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 79e3e50 commit 4aed176
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -409,6 +409,9 @@ void PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<Task> task) { | |||
| 409 | 409 | InternalCallbackScope::kNoFlags); | |
| 410 | 410 | task->Run(); | |
| 411 | 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 | ||
| 412 | 415 | task->Run(); | |
| 413 | 416 | } | |
| 414 | 417 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments