fix: delete `appController` before `statusFoundation`

AppController executes status-go Logout function when it's being deleted, and that will stop all status-go services and kill pending mailserver requests. If StatusFoundation is deleted before the AppController, it's possible for some tasks to freeze the app on logout
This commit is contained in:
Richard Ramos 2023-02-02 11:52:45 -04:00 committed by Iuri Matias
parent 72d40346f6
commit a7ecb4be92
1 changed files with 1 additions and 1 deletions

View File

@ -150,8 +150,8 @@ proc mainProc() =
networkAccessFactory.delete()
dockShowAppEvent.delete()
osThemeEvent.delete()
statusFoundation.delete()
appController.delete()
statusFoundation.delete()
singleInstance.delete()
app.delete()