mirror of
https://github.com/GOSTSec/poolserver
synced 2025-01-15 01:00:10 +00:00
Stack overflow
This commit is contained in:
parent
d504129cb7
commit
d603f60e83
@ -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…
x
Reference in New Issue
Block a user