MCPcopy
hub / github.com/mailvelope/mailvelope / disconnect

Method disconnect

src/lib/EventHandler.js:95–99  ·  view source on GitHub ↗

* Disconnect port

()

Source from the content-addressed store, hash-verified

93 * Disconnect port
94 */
95 disconnect() {
96 if (this._port) {
97 this._port.disconnect();
98 }
99 }
100
101 /**
102 * We can detect an uninstall event if the field chrome.runtime.id is cleared

Callers 15

terminateFunction · 0.45
onTerminateFunction · 0.45
terminateFunction · 0.45
onTerminateFunction · 0.45
onTerminateFunction · 0.45
terminateFunction · 0.45
terminateFunction · 0.45
onDestroyMethod · 0.45
onDestroyMethod · 0.45
onErrorMethod · 0.45
onDestroyMethod · 0.45
registerEventListenerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected