2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Add base::ConcurrentTimer.

Write removes from cache database once an hour.
This commit is contained in:
John Preston
2018-08-09 23:39:22 +03:00
parent 64b8adb3d0
commit b9af3c7f34
14 changed files with 552 additions and 9 deletions

View File

@@ -12,6 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/crash_reports.h"
#include "core/main_queue_processor.h"
#include "core/update_checker.h"
#include "base/concurrent_timer.h"
#include "application.h"
namespace Core {
@@ -242,6 +243,8 @@ void Launcher::processArguments() {
int Launcher::executeApplication() {
MainQueueProcessor processor;
base::ConcurrentTimerEnvironment environment;
Application app(this, _argc, _argv);
return app.exec();
}