aspnet / SignalR-samples

Samples for ASP.NET Core SignalR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About network changes

xiazunyang opened this issue · comments

https://github.com/aspnet/SignalR/blob/master/clients/java/signalr/src/main/java/com/microsoft/signalr/OkHttpWebSocketWrapper.java

line 98.

onClose.invoke(null, t.getMessage());Should be changed to onClose.accept(0, t.getMessage());

Otherwise a NullPointerException is reported when the network state changes.

Closing as you filed the same issue on the aspnet/signalr repo.