Crash when reconnect strategy is null and server has error
madagaga opened this issue · comments
madagaga commented
If reconnect strategy is null
socket.SetReconnectStrategy(null);
OnWebsocketClosed throw an null reference exception.
ansubur commented
I too face the same issue. Any help would be much appreciated!
ansubur commented
instead of null try using reconnectionstrategy with setmaxattempts(0);