Yaircc.Net.IRC.Connection.Dispose C# (CSharp) Method

Dispose() public method

Disposes the object.
public Dispose ( ) : void
return void
        public void Dispose()
        {
            this.isDisposed = true;
            this.client.Close();

            if (this.timer != null)
            {
                this.timer.Stop();
                this.timer.Dispose();
                this.timer = null;
            }
        }