cleanup
This commit is contained in:
parent
b4b688d3b9
commit
6086a0ea12
@ -52,7 +52,7 @@ void packet_client::close(client &cli) {
|
||||
cli.socket.shutdown(boost::asio::socket_base::shutdown_both);
|
||||
|
||||
boost::system::error_code err;
|
||||
cli.socket.close(err);
|
||||
[[maybe_unused]] auto res = cli.socket.close(err);
|
||||
} catch (...) {
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user