mirror of https://gogs.blitter.com/RLabs/xs
Restored call to c.Close in hkexnet.Close (was causing hangs on client side)
This commit is contained in:
parent
74a64489e5
commit
8e02810f0e
|
@ -533,6 +533,7 @@ func (hc *Conn) Close() (err error) {
|
|||
binary.BigEndian.PutUint32(s, uint32(*hc.closeStat))
|
||||
log.Printf("** Writing closeStat %d at Close()\n", *hc.closeStat)
|
||||
hc.WritePacket(s, CSOExitStatus)
|
||||
err = (*hc.c).Close()
|
||||
logger.LogDebug(fmt.Sprintln("[Conn Closing]"))
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue