Skip to content

Commit 6e9ca77

Browse files
committed
Fix return
1 parent b1a91b5 commit 6e9ca77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Lifecycle/AutoCancel/AutoCancel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ extension Subscribers {
148148

149149
public func receive(_ input: Input) -> Subscribers.Demand {
150150
lock.lock(); defer { lock.unlock() }
151-
guard isActive else { return }
151+
guard isActive else { return .unlimited }
152152

153153
receivers?.receiveValue?(input)
154154
return .unlimited

Sources/SPIR/Interactor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ open class PresentableInteractor<PresenterType>: Interactor, PresentableInteract
122122
}
123123
}
124124

125-
public extension PresentableInteractable where Self: Presentable {
125+
public extension PresentableInteractable {
126126
var presentable: Presentable {
127127
return self
128128
}

0 commit comments

Comments
 (0)