1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

don't call utp_shutdown in destructor

This commit is contained in:
Jeff Becker 2019-01-07 11:15:47 -05:00
parent 3d5d52de87
commit 1a5c70f09d
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -826,7 +826,6 @@ namespace llarp
{
if(sock)
{
utp_shutdown(sock, SHUT_RDWR);
utp_close(sock);
utp_set_userdata(sock, nullptr);
}