RxSwiftCommunity / RxFlow

RxFlow is a navigation framework for iOS applications based on a Reactive Flow Coordinator pattern
MIT License
1.88k stars 118 forks source link

refactor :: unnecessary weak references #187

Closed baekteun closed 1 year ago

baekteun commented 1 year ago

Description

DispatchQueue.main.async { [weak self] in
    self?.stepsRelay.accept(step)
}

This code does not cause retain cycle. However, FlowCoordinator#L131-L133 is written like that.

So I refactored these unnecessary wake references.

Checklist

trivial