Base.TService.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
		public override void Dispose()
		{
			if (this.poller == null)
			{
				return;
			}

			foreach (long id in this.idChannels.Keys.ToArray())
			{
				TChannel channel = this.idChannels[id];
				channel.Dispose();
			}
			this.acceptor?.Dispose();
			this.poller = null;
		}