shutdown client after close

master
nixo 2020-10-30 18:57:26 +01:00
parent aad803ee04
commit 9c911bf2f2
1 changed files with 1 additions and 1 deletions

View File

@ -40,8 +40,8 @@ write(c::SSLClient, s::String) = write(c, Vector{UInt8}(s))
import Base.close
function close(client::SSLClient)
shutdown(client)
close(client.sock)
shutdown(client)
free(client)
end