Skip to content

Commit

Permalink
fix: call logout on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos authored and jrainville committed Jan 25, 2023
1 parent 8d75e7d commit 519f082
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/boot/app_controller.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 519f082

Please sign in to comment.