Flush the LS tracer, since Close() doesn't seem to.
@@ -784,6 +784,7 @@ func flushSpansLightstep(ctx context.Context, s *Server, tracerThunk func() open
for _, ssfSpan := range ssfSpans {
flushSpanLightstep(lightstepTracer, ssfSpan)
}
+ lightstep.FlushLightStepTracer(lightstepTracer)
// Confusingly, this will still get called even if the Opentracing client fails to reach the collector
// because we don't get access to the error if that happens.
