Skip to content

Commit d024c1b

Browse files
committed
Fix reqwest_blocking example (requires explicit shutdown)
1 parent 6b42264 commit d024c1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/http_client_reqwest_blocking.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ fn main() {
1212
.install_simple();
1313

1414
tracer.in_span("reqwest-blocking-client", |_cx| {});
15+
16+
opentelemetry::global::shutdown_tracer_provider();
1517
}

0 commit comments

Comments
 (0)