diff --git a/client.go b/client.go index 8b948cd..274b0f8 100644 --- a/client.go +++ b/client.go @@ -44,7 +44,7 @@ func (c *client) Start() { c.stopChan = make(chan struct{}) c.ch.OnStart() - + c.stopWg.Add(1) runClient(c) }