MCPcopy Create free account
hub / github.com/Marus/cortex-debug / cleanupRTTTerminals

Method cleanupRTTTerminals

src/frontend/extension.ts:818–826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816 }
817
818 private cleanupRTTTerminals() {
819 this.rttTerminals = this.rttTerminals.filter((t) => {
820 if (!t.inUse) {
821 t.dispose();
822 return false;
823 }
824 return true;
825 });
826 }
827
828 private rttCreateTerninal(e: vscode.DebugSessionCustomEvent, decoder: RTTConsoleDecoderOpts) {
829 this.createRTTSource(e, decoder.tcpPort, decoder.port).then((src: SocketRTTSource) => {

Callers 1

debugSessionStartedMethod · 0.95

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected