Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

Commit b1f61ef

Browse files
addaleaxOlivia Hugger
authored and
Olivia Hugger
committedAug 30, 2017
perf_hooks: fix presumed typo in node_perf.cc
PR-URL: nodejs/node#15019 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent ecbd645 commit b1f61ef

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)
This repository has been archived.