You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a race condition in OperatorMerge.InnerSubscriber#onError (#5851)
* Fix a race condition in OperatorMerge.InnerSubscriber#onError
Inner subscriber must queue the error first before setting done,
so that after emitLoop() removes the subscriber,
emitLoop is guaranteed to notice the error.
Otherwise it would be possible that inner subscribers count was 0,
and at the same time the error queue was empty.
* Add unit test for OperatorMerge.InnerSubscriber#onError race
0 commit comments