Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-08-24 21:47:00 +0300
committerJames M Snell <jasnell@gmail.com>2017-08-29 08:08:16 +0300
commit095c9463dd707330f633283c7d419f09eafcd968 (patch)
treeee0d7e5e03dd83fd298789a1f7996adde6835b31 /src/node_perf.cc
parent65c9537adc867ea65c20df6ef599e7f2ae7f2e49 (diff)
perf_hooks: fix presumed typo in node_perf.cc
PR-URL: https://github.com/nodejs/node/pull/15019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
-rw-r--r--src/node_perf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc
index 2398bb9b8fd..a708877d5de 100644
--- a/src/node_perf.cc
+++ b/src/node_perf.cc
@@ -224,7 +224,7 @@ inline void MarkGarbageCollectionEnd(Isolate* isolate,
inline void SetupGarbageCollectionTracking(Isolate* isolate) {
isolate->AddGCPrologueCallback(MarkGarbageCollectionStart);
- isolate->AddGCPrologueCallback(MarkGarbageCollectionEnd);
+ isolate->AddGCEpilogueCallback(MarkGarbageCollectionEnd);
}
inline Local<Value> GetName(Local<Function> fn) {