MCPcopy Index your code
hub / github.com/nodejs/node / destroy

Function destroy

test/common/gc.js:29–35  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

27 }
28 }),
29 destroy(id) {
30 assert.notStrictEqual(this.trackedId, -1);
31 if (id === this.trackedId) {
32 this.gcListener.ongc();
33 onGcAsyncHook.disable();
34 }
35 },
36 }).enable();
37 onGcAsyncHook.gcListener = gcListener;
38

Callers

nothing calls this directly

Calls 1

disableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…