diff --git a/submodules/Postbox/Sources/SqliteValueBox.swift b/submodules/Postbox/Sources/SqliteValueBox.swift index d58ab1e1ad..b9409cecc4 100644 --- a/submodules/Postbox/Sources/SqliteValueBox.swift +++ b/submodules/Postbox/Sources/SqliteValueBox.swift @@ -549,7 +549,7 @@ public final class SqliteValueBox: ValueBox { postboxLog("Timeout reached, discarding database") try? FileManager.default.removeItem(atPath: databasePath) - preconditionFailure() + exit(0) } }) let status = sqlite3_prepare_v2(database.handle, "SELECT * FROM sqlite_master LIMIT 1", -1, &statement, nil)