Skip to content

Conversation

@rdegnan
Copy link
Member

@rdegnan rdegnan commented Dec 11, 2018

I encountered a null pointer exception inside RSocketClient::cleanUpSubscriber because subscriber was null. The only way this could happen is if the receivers map is modified while it is being iterated over. The solution is to use the forEach method instead of iterator, which is properly synchronized.

…erministic behavior

Signed-off-by: Ryland Degnan <ryland@netifi.com>
@robertroeser robertroeser merged commit 2be7d6c into rsocket:1.0.x Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants