Double shutdown doesn't help! (#2828)

Fixes the fact that the HTTPS server wouldn't shut down while OTLP export was enabled.
This commit is contained in:
James Hodgkinson 2024-06-08 13:04:36 +10:00 committed by GitHub
parent 073ed403ed
commit a8b47f50d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -389,8 +389,6 @@ pub async fn create_https_server(
};
opentelemetry::global::shutdown_tracer_provider();
info!("Stopped {}", super::TaskName::HttpsServer);
}))
}