Skip to content

Commit

Permalink
Merge pull request #435 from 3lvis/fix-operation-is-never-marked-as-f…
Browse files Browse the repository at this point in the history
…inished

#366: Fix operation is never marked as finished
  • Loading branch information
3lvis authored Oct 24, 2017
2 parents 4633e1e + dd330b5 commit 04acc9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Sync/Sync.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ public protocol SyncDelegate: class {
})
} catch let error as NSError {
print("Failed syncing changes \(error)")

self.updateExecuting(false)
self.updateFinished(true)
}

self.updateExecuting(false)
self.updateFinished(true)
}

public override func cancel() {
Expand Down

0 comments on commit 04acc9f

Please sign in to comment.