Browse Source

Stack overflow

master
Intel 11 years ago
parent
commit
d603f60e83
  1. 2
      src/server/poolserver/Stratum/Server.h

2
src/server/poolserver/Stratum/Server.h

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

Loading…
Cancel
Save