ReactiveX/RxJava — pull request #1947 by akarnokd (2014-12-09 09:21:54+00:00)
Title: Fixed first emission racing with pre and post subscription.

There was a subtle race between the subscription and emission which delayed the delivery of the first emission if it happened between the pre- and post-subscription of a subscriber. The fix is the same logic used by the BehaviorSubject to avoid the same problem.