()
| 520 | const { writeHeapSnapshot } = require('v8'); |
| 521 | |
| 522 | function doWriteHeapSnapshot() { |
| 523 | const heapSnapshotFilename = getHeapSnapshotFilename(diagnosticDir); |
| 524 | writeHeapSnapshot(heapSnapshotFilename); |
| 525 | } |
| 526 | process.on(signal, doWriteHeapSnapshot); |
| 527 | |
| 528 | // The code above would add the listener back during deserialization, |
nothing calls this directly
no test coverage detected
searching dependent graphs…