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

Method dispose

src/frontend/swo/sources/serial.ts:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 }
92
93 public dispose() {
94 if (this.serialPort) {
95 this.serialPort.close();
96 this.emit('disconnected');
97 }
98 }
99}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected