public override void Dispose() { if (this.Id == 0) { return; } base.Dispose(); this.socket.Dispose(); }
public override void Dispose() { if (this.poller == null) { return; } foreach (long id in this.idChannels.Keys.ToArray()) { UChannel channel = this.idChannels[id]; channel.Dispose(); } this.poller = null; }