Closed nhaarman closed 5 years ago
The replay operator internally caches N+1 elements instead of just N, meaning it will keep a strong reference to the previous emitted element. When this element references an Activity, leaks occur.
replay
See https://github.com/ReactiveX/RxJava/issues/6475.
The
replay
operator internally caches N+1 elements instead of just N, meaning it will keep a strong reference to the previous emitted element. When this element references an Activity, leaks occur.See https://github.com/ReactiveX/RxJava/issues/6475.