ing
This commit is contained in:
parent
ed8218b164
commit
63b5613089
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user