unload if reset
This commit is contained in:
parent
3e245af50c
commit
0124a49d7e
@ -2146,6 +2146,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
button.onClick(async () => {
|
button.onClick(async () => {
|
||||||
await destroyDBs();
|
await destroyDBs();
|
||||||
new Notice(t("settings_resetcache_notice"));
|
new Notice(t("settings_resetcache_notice"));
|
||||||
|
this.plugin.unload();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user