2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Create Application before ConcurrentTimerEnvironment.

Fixes #5498.
This commit is contained in:
John Preston
2018-12-26 13:02:43 +04:00
parent 7b5e5c2587
commit cfac261516
3 changed files with 15 additions and 8 deletions

View File

@@ -243,11 +243,10 @@ void Launcher::processArguments() {
}
int Launcher::executeApplication() {
Application application(this, _argc, _argv);
MainQueueProcessor processor;
base::ConcurrentTimerEnvironment environment;
Application app(this, _argc, _argv);
return app.exec();
return application.execute();
}
} // namespace Core