fix: call logout on exit

This commit is contained in:
Richard Ramos 2023-01-24 16:10:04 -04:00 committed by Jonathan Rainville
parent 8d75e7dced
commit 519f08241e
1 changed files with 3 additions and 0 deletions

View File

@ -259,6 +259,9 @@ proc newAppController*(statusFoundation: StatusFoundation): AppController =
result.connect()
proc delete*(self: AppController) =
info "logging out..."
self.generalService.logout()
singletonInstance.delete
self.notificationsManager.delete
self.keychainService.delete