This commit is contained in:
crusader 2018-04-27 15:24:22 +09:00
parent 3654ce7ec1
commit d786bc3281
2 changed files with 6 additions and 0 deletions

View File

@ -88,6 +88,9 @@ func (c *Connectors) logHeader() string {
}
func (c *Connectors) onDisconnected() {
close(c.readChan)
close(c.writeChan)
c.reconnectedChan <- nil
onDisconnected := c.OnDisconnected

View File

@ -125,6 +125,9 @@ func (c *Connectors) logHeader() string {
}
func (c *Connectors) onDisconnected() {
close(c.readChan)
close(c.writeChan)
c.reconnectedChan <- nil
onDisconnected := c.OnDisconnected