private void Close(WebSocket Socket)
 {
     if (Socket.Tag is Info Info)
     {
         ClientEvents.UnregisterWebSocket(Socket, Info.Location, Info.TabID);
         Socket.Tag = null;
     }
 }
Esempio n. 2
0
        private async Task Close(WebSocket Socket)
        {
            if (Socket.Tag is Info Info)
            {
                await ClientEvents.UnregisterWebSocket(Socket, Info.Location, Info.TabID);

                Socket.Tag = null;
            }
        }