示例#1
0
        public void Dispose()
        {
            Extras.Clear();

            foreach (CopyState cState in CopySlots)
            {
                if (cState != null)
                {
                    cState.Clear();
                }
            }
            CopySlots.Clear();

            DrawOps.Clear();
            if (spamChecker != null)
            {
                spamChecker.Clear();
            }
        }
示例#2
0
        public void Dispose()
        {
            connections.Remove(this);
            RemoveFromPending();
            Extras.Clear();

            foreach (CopyState cState in CopySlots)
            {
                if (cState != null)
                {
                    cState.Clear();
                }
            }
            CopySlots.Clear();
            DrawOps.Clear();
            if (spamChecker != null)
            {
                spamChecker.Clear();
            }
            spyChatRooms.Clear();
        }