Commit ae09ca4d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fcb886af
......@@ -108,7 +108,7 @@ func listenAndServe(ctx context.Context, net xnet.Networker, laddr string, serve
wg := xsync.NewWorkGroup(ctx)
wg.Go(func(ctx context.Context) error {
// XXX shutdown serve on ctx cancel
// XXX shutdown serve on ctx cancel (-> WithCloseOnErrCancel(mux); cmux recently added mux.Close)
return mux.Serve()
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment