예제 #1
0
        private static void Server_ClientDisconnected(Connection connection, Exception exception)
        {
            var role = connection.Data.Get <string>("_R", null) != null;

            if (role)
            {
                VerifyQueue.RemoveClient();
                SendQueue.RemoveClient();
                UnzipQueue.RemoveClient();

                //var targetDict = role == DfsClientType.Shard ? Shards : Realms;
                //targetDict.TryRemove(connection.Identifier, out _);
            }
        }