NHibernate.ZMQLogPublisher.SocketManager.Terminate C# (CSharp) Method

Terminate() public method

public Terminate ( ) : void
return void
        public void Terminate()
        {
            this.terminated = true;

            foreach (var socket in sockets.Values)
            {
                lock (this.synclock)
                {
                    socket.Dispose();
                }
            }

            sockets.Clear();
            this.Context.Dispose();
        }
    }