private void BootUser(IConnectionUser user) {
     bool saveAutoClose = this.autoClose;
     this.autoClose = false;
     int index = this.users.IndexOf(user);
     if (index >= 0) {
         this.users.RemoveAt(index);
     }
     user.CompleteUse();
     this.autoClose = saveAutoClose;
 }
Example #2
0
        private void BootUser(IConnectionUser user)
        {
            bool close = AutoClose;

            AutoClose = false;
            int index = users.IndexOf(user);

            if (index >= 0)
            {
                users.RemoveAt(index);
            }
            user.CompleteUse();
            AutoClose = close;
        }
Example #3
0
        private void BootUser(IConnectionUser user)
        {
            bool saveAutoClose = this.autoClose;

            this.autoClose = false;
            int index = this.users.IndexOf(user);

            if (index >= 0)
            {
                this.users.RemoveAt(index);
            }
            user.CompleteUse();
            this.autoClose = saveAutoClose;
        }