1
0
mirror of https://github.com/GOSTSec/poolserver synced 2025-01-15 01:00:10 +00:00

Stack overflow

This commit is contained in:
Intel 2014-05-04 19:30:35 -04:00
parent d504129cb7
commit d603f60e83

View File

@ -98,7 +98,7 @@ namespace Stratum
// Disconnects client // Disconnects client
void Disconnect(ClientPtr client) void Disconnect(ClientPtr client)
{ {
client->Disconnect(); client->CloseSocket();
_clients.erase(client); _clients.erase(client);
} }