Skip to content

Commit

Permalink
Close defaultSampler field in adaptiveSampler. (jaegertracing#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaachier authored and yurishkuro committed Aug 28, 2017
1 parent 7c8937d commit 9174d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sampler.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func (s *adaptiveSampler) Close() {
for _, sampler := range s.samplers {
sampler.Close()
}
s.defaultSampler.Close()
}

func (s *adaptiveSampler) Equal(other Sampler) bool {
Expand Down

0 comments on commit 9174d03

Please sign in to comment.