diff --git a/Sources/RxComposableArchitecture/Store.swift b/Sources/RxComposableArchitecture/Store.swift index 0d3fb71..bd48e4e 100644 --- a/Sources/RxComposableArchitecture/Store.swift +++ b/Sources/RxComposableArchitecture/Store.swift @@ -856,7 +856,7 @@ extension ScopedReducer: AnyScopedReducer { guard !reducer.isSending else { return } childStore?.relay.accept(toRescopedState(newValue)) }) - .disposed(by: store.disposeBag) + .disposed(by: childStore.disposeBag) return childStore } }