Skip to content

Commit

Permalink
Use connection close
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacquwes committed Sep 29, 2023
1 parent 10c2dcc commit 532982b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/client_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace pine

void client_connection::disconnect()
{
socket.close(ec);
this->close();
}

async_task client_connection::listen()
Expand Down

0 comments on commit 532982b

Please sign in to comment.