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(); }