This commit is contained in:
crusader 2017-10-31 20:53:24 +09:00
parent ed8218b164
commit 63b5613089

View File

@ -54,6 +54,8 @@ func (c *client) Start(rwc io.ReadWriteCloser) {
c.stopChan = make(chan struct{}) c.stopChan = make(chan struct{})
c.requestQueueChan = make(chan *CallState, c.ch.GetPendingRequests()) c.requestQueueChan = make(chan *CallState, c.ch.GetPendingRequests())
c.ch.OnStart()
c.stopWg.Add(1) c.stopWg.Add(1)
go handleRPC(c) go handleRPC(c)
} }