예제 #1
0
파일: Player.cs 프로젝트: rdebath/MCGalaxy
        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();
        }