Improvements on that front have been submitted to master.
prefer using upcoming
2.2.1
release (snapshot can be built from current master) and upgrade to RxJava 1.0.15
as soon as it comes out in order to be able to call rx.Schedulers.shutdown()
don’t forget to call
toBlocking().single()
(or at least subscribe()
) after an environment.shutdown()
Note: The improvements have been partially backported to
release11
branch for inclusion in the upcoming2.1.5
release, but improvements for RxJava and Netty threads couldn’t be backported, so it’s mainly clarity of code, integration tests and logs that have been backported.