feat: option to sign out all workspaces (#1005)

* feat: option to sign out all workspaces

* style: prettier width 120

* chore: bump snjs
This commit is contained in:
Mo
2022-04-26 15:28:30 -05:00
committed by GitHub
parent c6ed9534fb
commit bce8c5fcba
13 changed files with 132 additions and 111 deletions

View File

@@ -91,10 +91,6 @@ export class WebApplication extends SNApplication {
this.webServices = {} as WebServices
this.noteControllerGroup.deinit()
this.webEventObservers.length = 0
if (source === DeinitSource.SignOut) {
isDesktopDevice(this.deviceInterface) && this.deviceInterface.onSignOut()
}
} catch (error) {
console.error('Error while deiniting application', error)
}