Skip to content

Commit

Permalink
Ensure location authorization completion called
Browse files Browse the repository at this point in the history
  • Loading branch information
basememara committed Oct 26, 2019
1 parent 8263a3e commit 79da93b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/ZamzamLocation/LocationWorker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ public extension LocationWorker {
extension LocationWorker: CLLocationManagerDelegate {

public func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
guard status != .notDetermined else { return }

// Trigger and empty queues
let recurringHandlers = self.didChangeAuthorizationHandlers.value
recurringHandlers.forEach { task in
Expand Down

0 comments on commit 79da93b

Please sign in to comment.