Apache.NMS.ActiveMQ.Transport.InactivityMonitor.Dispose C# (CSharp) 메소드

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void
        protected override void Dispose(bool disposing)
        {
            if(disposing)
            {
                // get rid of unmanaged stuff
            }

            lock(monitor)
            {
                this.localWireFormatInfo = null;
                this.remoteWireFormatInfo = null;
                this.disposing = true;
                StopMonitorThreads();
            }

            base.Dispose(disposing);
        }