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:
parent
3d5d52de87
commit
1a5c70f09d
|
@ -826,7 +826,6 @@ namespace llarp
|
|||
{
|
||||
if(sock)
|
||||
{
|
||||
utp_shutdown(sock, SHUT_RDWR);
|
||||
utp_close(sock);
|
||||
utp_set_userdata(sock, nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue