mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-21 00:49:49 +01:00
delete shm file after converting to DELETE journal mode
This commit is contained in:
@@ -219,6 +219,7 @@ public final class SQLiteStore: LocalStorage {
|
|||||||
options: [NSSQLitePragmasOption: ["journal_mode": "DELETE"]]
|
options: [NSSQLitePragmasOption: ["journal_mode": "DELETE"]]
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
_ = try? FileManager.default.removeItem(atPath: "\(self.fileURL.path)-shm")
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user