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

View File

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

View File

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