diff --git a/ddtrace/mocktracer/mocktracer.go b/ddtrace/mocktracer/mocktracer.go index 07f0a37b49..295d386048 100644 --- a/ddtrace/mocktracer/mocktracer.go +++ b/ddtrace/mocktracer/mocktracer.go @@ -97,14 +97,6 @@ func (t *mocktracer) FinishSpan(s *tracer.Span) { t.addFinishedSpan(s) } -// Stop deactivates the mock tracer and sets the active tracer to a no-op. -// TODO(hannahkm): investigate this -// func (t *mocktracer) Stop() { -// internal.SetGlobalTracer(&internal.NoopTracer{}) -// internal.Testing = false -// t.dsmProcessor.Stop() -// } - // Stop deactivates the mock tracer and sets the active tracer to a no-op. func (t *mocktracer) Stop() { tracer.StopTestTracer()