Commit 98c5ff5d by Demid Merzlyakov

Fix storage save issue.

parent 19d0cd8f
......@@ -75,6 +75,7 @@ public class DelayedSaveStorage: Storage {
self?.latestKnownAppData = nil
}
}
self?.saveQueue.addOperation(saveOperation)
}
saveDelayQueue.addOperation(saveWithDelayOperation)
}
......@@ -106,5 +107,6 @@ public class DelayedSaveStorage: Storage {
self?.latestKnownAppDataSynchronizationQueue.waitUntilAllOperationsAreFinished()
}
self.saveQueue.waitUntilAllOperationsAreFinished()
self.latestKnownAppDataSynchronizationQueue.waitUntilAllOperationsAreFinished()
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment