mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
syntax
This commit is contained in:
parent
c4618f19db
commit
9e02ec560a
@ -190,7 +190,7 @@ public final class StorageBox {
|
||||
valueBox = SqliteValueBox(basePath: databasePath, queue: queue, isTemporary: false, isReadOnly: false, useCaches: isMainProcess, removeDatabaseOnError: isMainProcess, encryptionParameters: nil, upgradeProgress: { _ in })
|
||||
}
|
||||
|
||||
guard let valueBox else {
|
||||
guard let valueBox = valueBox else {
|
||||
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
||||
postboxLogSync()
|
||||
preconditionFailure()
|
||||
|
@ -105,7 +105,7 @@ final class AccountManagerImpl<Types: AccountManagerTypes> {
|
||||
Thread.sleep(forTimeInterval: 0.1 + 0.5 * Double(i))
|
||||
}
|
||||
}
|
||||
guard let valueBox else {
|
||||
guard let valueBox = valueBox else {
|
||||
postboxLog("Giving up on opening value box at \(basePath + "/db")")
|
||||
postboxLogSync()
|
||||
preconditionFailure()
|
||||
|
Loading…
x
Reference in New Issue
Block a user