This commit is contained in:
crusader 2017-11-08 19:26:34 +09:00
parent 6cf3533828
commit 1429e17a4d

View File

@ -101,8 +101,8 @@ func (sc *SocketConn) Close() error {
if sc.wc != nil {
err = sc.wc.Close()
}
releaseSocketConn(sc)
sc.s.sc = nil
releaseSocketConn(sc)
return err
}