From 44a03d04780d9cbf0e68ee0eb996067d6f386714 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Oct 2010 10:44:51 +0000 Subject: (svn r20988) -Fix [FS#4167]: no need to send packets and possibly get the connection closed when the next call also tries to send the packets and then closes the connection. Especially if the former frees a structure that the latter assumes to be still there --- src/network/network.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/network/network.cpp') diff --git a/src/network/network.cpp b/src/network/network.cpp index d94656165..68d3887f2 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -463,7 +463,6 @@ void NetworkClose(bool close_admins) ServerNetworkAdminSocketHandler::CloseListeners(); } else if (MyClient::my_client != NULL) { MyClient::SendQuit(); - MyClient::my_client->Send_Packets(); MyClient::my_client->CloseConnection(NETWORK_RECV_STATUS_CONN_LOST); } -- cgit v1.2.3-54-g00ecf