Don't save connection state when destructing the controller

This causes neochat to crash and is done automatically by the connections

BUG: 458353
This commit is contained in:
Tobias Fella
2022-08-26 21:58:48 +02:00
parent 6748a2d21d
commit 25226aa61f
2 changed files with 0 additions and 8 deletions

View File

@@ -125,13 +125,6 @@ Controller::Controller(QObject *parent)
#endif
}
Controller::~Controller()
{
for (auto c : AccountRegistry::instance().accounts()) {
c->saveState();
}
}
Controller &Controller::instance()
{
static Controller _instance;