Merge pull request #2664 from cmaf/tracing-stop-rootctx-bp-2.2

stable-2.2 | runtime: tracing: Use root context to stop tracing
This commit is contained in:
Chelsea Mafrica 2021-09-23 09:57:57 -07:00 committed by GitHub
commit 97421afe17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()