Fix connections not being moved from conn to log.
This commit is contained in:
parent
74b02bafe2
commit
52cb6cd9df
2 changed files with 1 additions and 1 deletions
|
@ -91,6 +91,7 @@ namespace Buffer{
|
|||
}
|
||||
usr->Send();
|
||||
}
|
||||
usr->Disconnect("Socket closed.");
|
||||
thisStream->cleanUsers();
|
||||
std::cerr << "User " << usr->MyStr << " disconnected, socket number " << usr->S.getSocket() << std::endl;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,6 @@ Buffer::user::user(Socket::Connection fd){
|
|||
/// Drops held DTSC::Ring class, if one is held.
|
||||
Buffer::user::~user(){
|
||||
Stream::get()->dropRing(myRing);
|
||||
Disconnect("User disconnected");
|
||||
}//destructor
|
||||
|
||||
/// Disconnects the current user. Doesn't do anything if already disconnected.
|
||||
|
|
Loading…
Add table
Reference in a new issue