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

Function terminate

test/parallel/test-inspector-network-http2.js:113–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111http2SecureServer.on('stream', handleStream);
112
113const terminate = () => {
114 session.disconnect();
115 http2Server.close();
116 http2SecureServer.close();
117 inspector.close();
118};
119
120function findFrameInInitiator(scriptName, initiator) {
121 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…