Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race in Flow.asPublisher #2124

Merged
merged 4 commits into from Jul 16, 2020
Merged

Fix race in Flow.asPublisher #2124

merged 4 commits into from Jul 16, 2020

Conversation

@elizarov
Copy link
Member

@elizarov elizarov commented Jul 7, 2020

The race was leading to emitting more items via onNext than requested, the corresponding stress-test was added, too

Fixes #2109

The race was leading to emitting more items via onNext than requested, the corresponding stress-test was added, too

Fixes #2109
@elizarov elizarov requested a review from qwwdfsad Jul 7, 2020
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Great job with writing a stable reproducer!

@elizarov elizarov merged commit d718970 into develop Jul 16, 2020
1 check passed
1 check passed
Build (Aggregated Linux+Windows) (kotlinx-coroutines) TeamCity build finished
Details
@elizarov elizarov deleted the flow-as-publisher-race branch Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.