We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb3d132 commit 27cd12bCopy full SHA for 27cd12b
Sources/d3-async-location/LocationManagerAsync+/Delegate.swift
@@ -68,10 +68,10 @@ extension LocationManagerAsync{
68
private func onTermination(_ termination: Termination){
69
let type = AsyncLocationErrors.self
70
switch(termination){
71
- case .finished(_) : fallthrough
72
- case .cancelled: stream?.finish(throwing: type.streamCanceled)
73
- @unknown default:
74
- stream?.finish(throwing: type.streamUnknownTermination)
+ case .finished(_) : fallthrough
+ case .cancelled: stream?.finish(throwing: type.streamCanceled)
+ @unknown default:
+ stream?.finish(throwing: type.streamUnknownTermination)
75
}
76
77
stream = nil
0 commit comments