| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0488782 commit 4667c5e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4887,10 +4887,6 @@ inline int Start(uv_loop_t* event_loop, | |||
| 4887 | 4887 | isolate->SetAutorunMicrotasks(false); | |
| 4888 | 4888 | isolate->SetFatalErrorHandler(OnFatalError); | |
| 4889 | 4889 | ||
| 4890 | - if (track_heap_objects) { | ||
| 4891 | - isolate->GetHeapProfiler()->StartTrackingHeapObjects(true); | ||
| 4892 | - } | ||
| 4893 | - | ||
| 4894 | 4890 | { | |
| 4895 | 4891 | Mutex::ScopedLock scoped_lock(node_isolate_mutex); | |
| 4896 | 4892 | CHECK_EQ(node_isolate, nullptr); | |
@@ -4907,6 +4903,9 @@ inline int Start(uv_loop_t* event_loop, | |||
| 4907 | 4903 | event_loop, | |
| 4908 | 4904 | v8_platform.Platform(), | |
| 4909 | 4905 | allocator.zero_fill_field()); | |
| 4906 | + if (track_heap_objects) { | ||
| 4907 | + isolate->GetHeapProfiler()->StartTrackingHeapObjects(true); | ||
| 4908 | + } | ||
| 4910 | 4909 | exit_code = Start(isolate, &isolate_data, argc, argv, exec_argc, exec_argv); | |
| 4911 | 4910 | } | |
| 4912 | 4911 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments