shutdown client after close
parent
aad803ee04
commit
9c911bf2f2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue