-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DoOnEach ASYNC fusion triggering onNext signal twice (#3045)
This commit fixes the DoOnEachFuseableSubscriber to interpret any upstream onNext as a fusion trigger in ASYNC mode (onNext(null)). Furthermore, this commit fixes the Operators.MonoSubscriber handling of FUSED case. Since that abstract operator only supports ASYNC fusion, the FUSED_* states are renamed FUSED_ASYNC_*. In the drain loop, even in FUSED case the operator emits t downstream where it should emit null technically (again, because FUSED == ASYNC). This error is also fixed. Fixes #3044.
- Loading branch information
1 parent
01a55c9
commit bee3d07
Showing
4 changed files
with
54 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters