bugfix: add delay for recalculate hash

This commit is contained in:
semenov
2024-09-27 10:40:43 +03:00
parent ad7fe8ccb6
commit 4d7590c02d
16 changed files with 171 additions and 1717 deletions

View File

@@ -119,6 +119,11 @@ void UpdateController::updateFilesOnServer(QList<FileData> *fileSendList){
calculateCommonHash();
sendSystem->sendFinish();
QTime dieTime= QTime::currentTime().addSecs(10);
while (QTime::currentTime() < dieTime)
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
emit sigUpdateComplete(true);
}
catch (...)