MCPcopy
hub / github.com/mailvelope/mailvelope / onDestroy

Function onDestroy

src/content-scripts/main.js:73–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73function onDestroy() {
74 off();
75 if (currentProvider?.integration) {
76 currentProvider.integration.deactivate();
77 }
78 // re-init provider specific content scripts
79 init(prefs, watchList);
80}
81
82function detectHost() {
83 for (const site of watchList) {

Callers

nothing calls this directly

Calls 3

offFunction · 0.85
deactivateMethod · 0.80
initFunction · 0.70

Tested by

no test coverage detected