mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-18 12:20:15 +00:00
fix lifecycle
This commit is contained in:
@@ -368,8 +368,7 @@ export class ObsidianLiveSyncSettingTab extends PluginSettingTab {
|
||||
|
||||
override hide() {
|
||||
super.hide();
|
||||
this._lifetimeComponent?.unload();
|
||||
this._lifetimeComponent = undefined;
|
||||
this._lifetimeComponent.unload();
|
||||
this.isShown = false;
|
||||
}
|
||||
isShown: boolean = false;
|
||||
|
||||
Reference in New Issue
Block a user