| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 618bbbf commit ff3b7d2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -458,8 +458,11 @@ void Environment::InitializeMainContext(Local<Context> context, | |||
| 458 | 458 | environment_start_time_); | |
| 459 | 459 | performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_NODE_START, | |
| 460 | 460 | per_process::node_start_time); | |
| 461 | - performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START, | ||
| 462 | - performance::performance_v8_start); | ||
| 461 | + | ||
| 462 | + if (per_process::v8_initialized) { | ||
| 463 | + performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START, | ||
| 464 | + performance::performance_v8_start); | ||
| 465 | + } | ||
| 463 | 466 | } | |
| 464 | 467 | ||
| 465 | 468 | Environment::~Environment() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments