Skip to content

Commit e3f5c58

Browse files
addaleaxMylesBorins
authored andcommitted
perf_hooks: fix presumed typo in node_perf.cc
PR-URL: #15019 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent ae91b1e commit e3f5c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_perf.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ inline void MarkGarbageCollectionEnd(Isolate* isolate,
224224

225225
inline void SetupGarbageCollectionTracking(Isolate* isolate) {
226226
isolate->AddGCPrologueCallback(MarkGarbageCollectionStart);
227-
isolate->AddGCPrologueCallback(MarkGarbageCollectionEnd);
227+
isolate->AddGCEpilogueCallback(MarkGarbageCollectionEnd);
228228
}
229229

230230
inline Local<Value> GetName(Local<Function> fn) {

0 commit comments

Comments
 (0)