even more logs
This commit is contained in:
@@ -25,6 +25,7 @@ func CartDial(address string) (*CartClient, error) {
|
||||
}
|
||||
|
||||
func (c *Client) Close() {
|
||||
log.Printf("Closing connection to %s\n", c.PersistentConnection.address)
|
||||
c.PersistentConnection.Close()
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ func (m *PersistentConnection) Connect() error {
|
||||
}
|
||||
|
||||
func (m *PersistentConnection) Close() {
|
||||
log.Printf("Closing connection to %s\n", m.address)
|
||||
m.Conn.Close()
|
||||
m.Died <- true
|
||||
m.Dead = true
|
||||
|
||||
Reference in New Issue
Block a user