Beispiel #1
0
 private void QueueOverflow(object sender, ClientMonitoringQueue e)
 {
     lock (_accessLock)
     {
         var correspondingUser = _currentSessions.Keys.FirstOrDefault(u => u.UserName.Equals(e.GetUserName()));
         if (correspondingUser != null)
         {
             RemoveUserSession(correspondingUser);
         }
     }
 }