This commit is contained in:
Ryan Tharp 2018-09-23 11:38:37 +00:00
commit 2a217b5f7d

View File

@ -736,8 +736,9 @@ namespace llarp
{
if(sock)
{
utp_shutdown(sock, SHUT_RDWR);
utp_close(sock);
utp_set_userdata(sock, nullptr);
sock = nullptr;
}
}