You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks progress for fixing issue with connection even channel on disconnect.
Problem
With the current implementation the core.AsyncConnect will return channel for core.ConnectionEvent which allows user to receive events about the connection state. However there might be cases where the reconnection loop with terminate and no more reconnect attempts will be done. If the user for some reason misses the event (full buffer) or accidentally calls Disconnect somewhere in the code he might run into situation where the receiving of next event will block forever.
Solution
This problem can be solved by closing the connection event channel after termination of reconnect loop.
The text was updated successfully, but these errors were encountered:
Intro
This issue tracks progress for fixing issue with connection even channel on disconnect.
Problem
With the current implementation the
core.AsyncConnect
will return channel forcore.ConnectionEvent
which allows user to receive events about the connection state. However there might be cases where the reconnection loop with terminate and no more reconnect attempts will be done. If the user for some reason misses the event (full buffer) or accidentally callsDisconnect
somewhere in the code he might run into situation where the receiving of next event will block forever.Solution
This problem can be solved by closing the connection event channel after termination of reconnect loop.
The text was updated successfully, but these errors were encountered: