mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-13 12:23:32 +01:00
delete shm file after converting to DELETE journal mode
This commit is contained in:
1 parent
583c6b7249
commit
15e5e4fdf6
1 file changed
+1
@@ -219,6 +219,7 @@ public final class SQLiteStore: LocalStorage {
|
||||
options: [NSSQLitePragmasOption: ["journal_mode": "DELETE"]]
|
||||
)
|
||||
}
|
||||
_ = try? FileManager.default.removeItem(atPath: "\(self.fileURL.path)-shm")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user