Bauglir.Ex.WebSocketServer.LockConnections C# (CSharp) Method

LockConnections() public method

this function should be used when application needs to travers through connections function locks the connection list for removal from different thread, no connection will be removed until UnlockConnections is called UnlockConnections MUST be called after traversing
public LockConnections ( ) : void
return void
        public void LockConnections()
        {
            Monitor.Enter(connLock);
        }