These are chat archives for ReactiveX/RxJava
RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
TestObserverdoes it just stick around in memory until all my unit tests end? For some odd reason, I stumbled across dispose and though "Why am I not calling this?" and couldn't come up with a reason. Does anyone else do this? I couldn't find any examples that disposed of
TestObservers, they will get GCd just like method-local ones. However, if you leave an async flow hanging that is rooted in one of the standard schedulers, you may get a leak. So if your test terminates a
TestObserver, you don't have to dispose it. If your test quits without getting a terminal event, you should dispose the