We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad35bc commit 9b2c1a8Copy full SHA for 9b2c1a8
1 file changed
Services/WebSockClient.cs
@@ -150,7 +150,11 @@ public async void Stop()
150
private async void ReconnectDelayed(string clientToken)
151
{
152
if (ws != null)
153
+ {
154
+ Console.WriteLine("Stopping WebSocket...");
155
await ws!.Stop(WebSocketCloseStatus.Empty, "Connection closing.");
156
+ }
157
+
158
ws = null;
159
await Task.Delay(10000);
160
if (!isStopped)
0 commit comments