public void SetCurrentCopy(CopyState state) { while (CurrentCopySlot >= CopySlots.Count) { CopySlots.Add(null); } CopySlots[CurrentCopySlot] = state; }
public void Dispose() { Extras.Clear(); foreach (CopyState cState in CopySlots) { if (cState != null) { cState.Clear(); } } CopySlots.Clear(); DrawOps.Clear(); if (spamChecker != null) { spamChecker.Clear(); } }
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(); }