dotnet / dotnet/aspnetcore

SignalR : Java Client : stop in on doesn't work

Open
#16,598 18 comments 0 reactions 1 assignee Claimed by @BrennanConroy View on GitHub
affected-few area-signalr bug severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Hello,
my existing java client code migrated to Core cannot stop...
seems that the state never change even if i call stop() several times.. is there a workaround ?

```
while (Connection.getConnectionState() != HubConnectionState.DISCONNECTED) {
try {
Connection.stop();
Thread.sleep(100);
}
catch (InterruptedException e) {
e.printStackTrace();
}
}
System.exit(0);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.