ing
This commit is contained in:
parent
d899e336c7
commit
3654ce7ec1
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user