MCPcopy
hub / github.com/mailvelope/mailvelope / onTerminate

Function onTerminate

src/components/editor/editor.js:132–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 onTerminate() {
133 this.setState({terminate: true}, () => this.port.disconnect());
134 }
135
136 onDisconnect() {
137 if (this.state.pwdDialog || this.state.embedded) {

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.45
disconnectMethod · 0.45

Tested by

no test coverage detected