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

Method handleDisconnected

src/frontend/swo/core.ts:340–346  ·  view source on GitHub ↗
(data: Buffer)

Source from the content-addressed store, hash-verified

338 }
339
340 private handleDisconnected(data: Buffer) {
341 for (const p of this.processors) {
342 p.close();
343 }
344 this.processors = [];
345 this.connected = false;
346 }
347
348 private handleData(data: Buffer) {
349 for (let i = 0; i < data.length; i++) {

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected