This commit is contained in:
crusader 2017-11-30 19:25:12 +09:00
parent 1c8bef954e
commit 0e01920fe9

View File

@ -48,6 +48,7 @@ func NewSocket(sb SocketBuilder, parentContext cuc.Context) (Socket, error) {
sh.OnConnect(sc, conn) sh.OnConnect(sc, conn)
s := retainSocket() s := retainSocket()
s.Conn = conn
s.ctx = sc s.ctx = sc
s.sh = sh s.sh = sh