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

[DONE] Create IncomingMsgChan only on ConnectTo #23

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

rcmgleite
Copy link
Contributor

@rcmgleite rcmgleite commented Jun 26, 2018

This PR fixes a bug on pitaya-client.
The New function no longer creates the IncomingMsgChan.
The problem with the old implementation was: This channel was already being created
inside the connectTo method. This means that if a client starts listenning to the channel before a call to connectTo, the old channel would leak and the messages would not be received by the client.

@felipejfc felipejfc merged commit d9f9046 into master Jun 26, 2018
@andrehp andrehp deleted the bugfix/client-IncomingMsgChan branch July 19, 2018 20:28
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.

None yet

2 participants