Restored call to c.Close in hkexnet.Close (was causing hangs on client side)

This commit is contained in:
Russ Magee 2018-11-19 14:41:42 -08:00
parent 74a64489e5
commit 8e02810f0e

View file

@ -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
}