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; }
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; }