Update comment

This commit is contained in:
Archangel
2025-02-17 19:13:16 +01:00
parent f1a5e273af
commit ea7b3919c0
+2 -2
View File
@@ -1,5 +1,4 @@
using System;
using System.Net.WebSockets;
using System.Net.WebSockets;
using Core.Models.Utils;
using Core.Servers.Ws;
using SptCommon.Annotations;
@@ -72,6 +71,7 @@ public class WebSocketServer(
Thread.Sleep(1000);
}
// Disconnect has been received, cancel the token and send OnClose to the relevant WebSockets.
foreach (var wsh in socketHandlers)
{
await cts.CancelAsync();