sacOO7 / SocketclusterClientDotNet

C# client for socketcluster framework in node.js

Home Page:http://socketcluster.io/#!/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when reconnect strategy is null and server has error

madagaga opened this issue · comments

If reconnect strategy is null
socket.SetReconnectStrategy(null);

OnWebsocketClosed throw an null reference exception.

I too face the same issue. Any help would be much appreciated!

instead of null try using reconnectionstrategy with setmaxattempts(0);