mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 11:45:40 +08:00
refs #672 Fixed getTimestampOnDisk returning wrong timestamp when called while loading is in progress.
This commit is contained in:
@@ -583,7 +583,7 @@ namespace BlackMisc
|
||||
{
|
||||
QMutexLocker lock(&m_mutex);
|
||||
|
||||
if (m_lockFile.isLocked()) { return m_timestamps.value(key); }
|
||||
if (m_lockFile.isLocked()) { return m_originalTimestamps.value(key); }
|
||||
|
||||
if (! m_lockFile.lock())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user