Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahkm committed Oct 30, 2024
1 parent 39065cb commit 564e172
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ddtrace/mocktracer/mocktracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 564e172

Please sign in to comment.