Fix saving
This commit is contained in:
parent
6d18c58f38
commit
8f742f3d6f
@ -63,7 +63,7 @@ final class CapServer {
|
||||
|
||||
private func scheduleSave() {
|
||||
nextSaveTime = Date().addingTimeInterval(saveDelay)
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + saveDelay) {
|
||||
DispatchQueue.global().asyncAfter(deadline: .now() + saveDelay) {
|
||||
self.performScheduledSave()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user