Skip to content

Commit 9b2c1a8

Browse files
committed
Added Log
1 parent dad35bc commit 9b2c1a8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Services/WebSockClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ public async void Stop()
150150
private async void ReconnectDelayed(string clientToken)
151151
{
152152
if (ws != null)
153+
{
154+
Console.WriteLine("Stopping WebSocket...");
153155
await ws!.Stop(WebSocketCloseStatus.Empty, "Connection closing.");
156+
}
157+
154158
ws = null;
155159
await Task.Delay(10000);
156160
if (!isStopped)

0 commit comments

Comments
 (0)