MCPcopy
hub / github.com/mailvelope/mailvelope / terminate

Function terminate

src/app/app.js:80–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 terminate() {
81 this.setState({terminate: true}, () => this.port.disconnect());
82 }
83
84 componentDidMount() {
85 port.send('get-version')

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.45
disconnectMethod · 0.45

Tested by

no test coverage detected