doc: fix output in inspector HeapProfile example

PR-URL: https://github.com/nodejs/node/pull/29711
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Kirill Fomichev authored and Michaël Zasso committed 2019-10-01 14:39:45 +02:00
1 parent d86f10cf0b
commit 038cbb08de
1 file changed
+1 -1
+1 -1
View File
@@ -216,7 +216,7 @@ session.on('HeapProfiler.addHeapSnapshotChunk', (m) => {
});
session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => {
console.log('Runtime.takeHeapSnapshot done:', err, r);
console.log('HeapProfiler.takeHeapSnapshot done:', err, r);
session.disconnect();
fs.closeSync(fd);
});