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

Function onTerminate

src/components/decrypt-message/DecryptMessage.js:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 onTerminate() {
87 this.setState({terminate: true}, () => this.port.disconnect());
88 }
89
90 onShowPwdDialog(msg) {
91 this.setState({pwdDialog: msg, notification: null});

Callers

nothing calls this directly

Calls 2

setStateMethod · 0.45
disconnectMethod · 0.45

Tested by

no test coverage detected