public override void RemoveDispatcher(MessageFilter filter) { lock (ThisLock) { _filterTable.Remove(filter); } }
public bool Remove(MessageFilter filter) { try { _rwl.AcquireWriterLock(10000); return(_listeners.Remove(filter)); } finally { _rwl.ReleaseLock(); } }