mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #659, #657 Fixed mistake in synchronize() where a future would be broken prematurely if async load had not yet started after 1 second timeout.
This commit is contained in:
@@ -106,7 +106,8 @@ namespace BlackMisc
|
||||
void writeNewRevision(const QMap<QString, qint64> ×tamps);
|
||||
|
||||
//! Release the revision file lock and mark everything up-to-date (called by LockGuard destructor).
|
||||
void finishUpdate();
|
||||
//! \param keepPromises Don't break pending promises.
|
||||
void finishUpdate(bool keepPromises = false);
|
||||
|
||||
//! True if beginUpdate found some values with timestamps newer than in memory.
|
||||
bool isPendingRead() const;
|
||||
|
||||
Reference in New Issue
Block a user