(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directly

This commit is contained in:
rubidium
2009-04-07 18:23:14 +00:00
parent 94a70f8ade
commit a25684b833
7 changed files with 34 additions and 30 deletions

View File

@@ -29,7 +29,7 @@ NetworkTCPSocketHandler::~NetworkTCPSocketHandler()
NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection()
{
this->writable = false;
this->has_quit = true;
NetworkSocketHandler::CloseConnection();
/* Free all pending and partially received packets */
while (this->packet_queue != NULL) {