-
Notifications
You must be signed in to change notification settings - Fork 34
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
Leaking bindings when the channel reply times out? #36
Comments
It should. if Not saying there isn't a bug somewhere, but this is at least the intended logic |
The timeout message never triggers the added reply binding is what I am saying. The timeout message looks like
I think if the timeout trigger message was PhxMessage(it, "", refEvent, mutPayload) then things would work as intended. I can open a pull request with a proposed fix and some tests in the next day or two. I wasn't sure what the intended behavior was until your comment. |
Resolved in 0.1.8 |
In PhxPush.kt
I think what is happenign is that if the timeout actually happens then a Message like
PhxMessage(ref=chan_reply_8, topic=, event=, payload={status=timeout}, joinRef=null)
is triggered. This is fine. However the bindings created withthis.channel.on(refEvent)
are never removed.The text was updated successfully, but these errors were encountered: