This commit is contained in:
alex.sharov 2023-04-19 13:24:05 +07:00
parent 1fb3b6f574
commit f3e50fc91a

View File

@ -435,6 +435,7 @@ func ExecV3(ctx context.Context,
rwLoopG, rwLoopCtx = errgroup.WithContext(rwLoopCtx)
defer rwLoopG.Wait()
rwLoopG.Go(func() error {
defer rws.Close()
defer in.Close()
defer applyLoopWg.Wait()
return rwLoop(rwLoopCtx)