ShootBlues.Script.JabberGateway.DestroyEndpoints C# (CSharp) Method

DestroyEndpoints() protected method

protected DestroyEndpoints ( ) : void
return void
        protected void DestroyEndpoints()
        {
            foreach (var ep in Endpoints.Values.ToArray()) {
                if (ep != null)
                    ep.Dispose();
            }
        }