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

Function onTerminate

src/components/encrypted-form/encryptedForm.js:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 onTerminate() {
66 this.setState({terminate: true}, () => this.port.disconnect());
67 }
68
69 showForm(event) {
70 this.setState({...event, showWaiting: false});

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.45
disconnectMethod · 0.45

Tested by

no test coverage detected