2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Push all QSaveFile-s to background thread.

This commit is contained in:
John Preston
2020-10-07 12:00:31 +03:00
parent 3cad89f299
commit 197b3c1cb5
6 changed files with 255 additions and 76 deletions

View File

@@ -338,8 +338,13 @@ bool _readOldMtpData(bool remove, ReadSettingsContext &context) {
} // namespace
void sync() {
Storage::details::Sync();
}
void finish() {
delete base::take(_localLoader);
Storage::details::Finish();
}
void InitialLoadTheme();