From 3654ce7ec1512cf0385f6e649e8795f197d6d88e Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 27 Apr 2018 15:17:22 +0900 Subject: [PATCH] ing --- socket/net/client/connector.go | 3 --- socket/web/client/connector.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/socket/net/client/connector.go b/socket/net/client/connector.go index 7d0fbfd..d8b0b96 100644 --- a/socket/net/client/connector.go +++ b/socket/net/client/connector.go @@ -88,9 +88,6 @@ func (c *Connectors) logHeader() string { } func (c *Connectors) onDisconnected() { - close(c.readChan) - close(c.writeChan) - c.reconnectedChan <- nil onDisconnected := c.OnDisconnected diff --git a/socket/web/client/connector.go b/socket/web/client/connector.go index edadcf1..6739426 100644 --- a/socket/web/client/connector.go +++ b/socket/web/client/connector.go @@ -125,9 +125,6 @@ func (c *Connectors) logHeader() string { } func (c *Connectors) onDisconnected() { - close(c.readChan) - close(c.writeChan) - c.reconnectedChan <- nil onDisconnected := c.OnDisconnected