don't call utp_shutdown in destructor

pull/203/head
Jeff Becker 6 years ago
parent 3d5d52de87
commit 1a5c70f09d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

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

Loading…
Cancel
Save