MCPcopy Create free account
hub / github.com/nodejs/node / _destroy

Method _destroy

test/async-hooks/init-hooks.js:207–212  ·  view source on GitHub ↗
(uid)

Source from the content-addressed store, hash-verified

205 }
206
207 _destroy(uid) {
208 const h = this._getActivity(uid, 'destroy');
209 this._stamp(h, 'destroy');
210 this._maybeLog(uid, h?.type, 'destroy');
211 this.ondestroy(uid);
212 }
213
214 _promiseResolve(uid) {
215 const h = this._getActivity(uid, 'promiseResolve');

Callers

nothing calls this directly

Calls 3

_getActivityMethod · 0.95
_stampMethod · 0.95
_maybeLogMethod · 0.95

Tested by

no test coverage detected