Merge pull request #2662 from cmaf/tracing-stop-rootctx

runtime: tracing: Use root context to stop tracing
This commit is contained in:
Julio Montes
2021-09-23 11:50:35 -05:00
committed by GitHub

View File

@@ -940,7 +940,7 @@ func (s *service) Shutdown(ctx context.Context, r *taskAPI.ShutdownRequest) (_ *
s.mu.Unlock()
span.End()
katatrace.StopTracing(s.ctx)
katatrace.StopTracing(s.rootCtx)
s.cancel()