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

Function terminate

test/parallel/test-inspector-network-fetch.js:71–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}, handleRequest);
70
71const terminate = () => {
72 session.disconnect();
73 httpServer.close();
74 httpsServer.close();
75 inspector.close();
76};
77
78function findFrameInInitiator(scriptName, initiator) {
79 const frame = initiator.stack.callFrames.find((it) => {

Callers 1

Calls 2

disconnectMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…