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:
parent
5e1440c76b
commit
c48467408d
@ -216,7 +216,7 @@ session.on('HeapProfiler.addHeapSnapshotChunk', (m) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => {
|
session.post('HeapProfiler.takeHeapSnapshot', null, (err, r) => {
|
||||||
console.log('Runtime.takeHeapSnapshot done:', err, r);
|
console.log('HeapProfiler.takeHeapSnapshot done:', err, r);
|
||||||
session.disconnect();
|
session.disconnect();
|
||||||
fs.closeSync(fd);
|
fs.closeSync(fd);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user