SocketclusterClientDotNet icon indicating copy to clipboard operation
SocketclusterClientDotNet copied to clipboard

Crash when reconnect strategy is null and server has error

Open madagaga opened this issue 6 years ago • 2 comments

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

OnWebsocketClosed throw an null reference exception.

madagaga avatar Jan 04 '19 12:01 madagaga

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

ansubur avatar Jan 18 '19 09:01 ansubur

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

ansubur avatar Jan 18 '19 12:01 ansubur