Build heartbeat chain

This commit is contained in:
derek.holloway committed 2026-08-06 09:36:18 -07:00
1 parent 909718d8d5
commit f946ebef1e
5 files changed
+173 -122

No files matched your search

-2
View File
@@ -26,7 +26,6 @@ namespace Mistox.Server {
_client.NoDelay = true;
_client.ReceiveTimeout = _parent.ConnectionTimeoutSeconds * 1000;
_parent.InvokeUserConnected( this );
// Start the receive thread
Task.Run(ReceiveThread);
}
@@ -93,7 +92,6 @@ namespace Mistox.Server {
_sendLock.Dispose();
_cts.Dispose();
_parent.Connections.TryRemove(UserName, out _);
_parent.InvokeUserDisconnected(this);
// Remove this item from the Dictionary on the Server for garbage collection
}