Skip to content

Commit 27cd12b

Browse files
committed
Update Delegate.swift
1 parent bb3d132 commit 27cd12b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/d3-async-location/LocationManagerAsync+/Delegate.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ extension LocationManagerAsync{
6868
private func onTermination(_ termination: Termination){
6969
let type = AsyncLocationErrors.self
7070
switch(termination){
71-
case .finished(_) : fallthrough
72-
case .cancelled: stream?.finish(throwing: type.streamCanceled)
73-
@unknown default:
74-
stream?.finish(throwing: type.streamUnknownTermination)
71+
case .finished(_) : fallthrough
72+
case .cancelled: stream?.finish(throwing: type.streamCanceled)
73+
@unknown default:
74+
stream?.finish(throwing: type.streamUnknownTermination)
7575
}
7676

7777
stream = nil

0 commit comments

Comments
 (0)