From 149be5e98e89683d62e2f2fc87228ca69605bc0f Mon Sep 17 00:00:00 2001 From: Kirill Smelkov <kirr@nexedi.com> Date: Thu, 28 Jan 2021 18:59:03 +0300 Subject: [PATCH] . --- go/neo/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/neo/client.go b/go/neo/client.go index 60de3ca7..86c2168e 100644 --- a/go/neo/client.go +++ b/go/neo/client.go @@ -121,6 +121,7 @@ func (cli *Client) Run(ctx context.Context) (err error) { cli.runCancel = cancel // cli.node.OnShutdown = cancel // XXX ok? // return cli.talkMaster(ctx) + cli.runWG = xsync.NewWorkGroup(ctx) // XXX create it in NewClient ? (Close also uses it) cli.runWG.Go(cli.node.talkMaster) cli.runWG.Go(cli.recvMaster) -- 2.30.9