diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-05 10:56:44 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-10 13:25:10 +0200 |
commit | 99fcfa3844a346463e5739fec19ac2a6b560adfc (patch) | |
tree | cb82b76999f81f0c5e351d062618c89f64ac3e99 /src/garage/server.rs | |
parent | 633958c7b1ce9c83df5159051fd299b484d0d797 (diff) | |
download | garage-99fcfa3844a346463e5739fec19ac2a6b560adfc.tar.gz garage-99fcfa3844a346463e5739fec19ac2a6b560adfc.zip |
Make background runner terminate correctly
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r-- | src/garage/server.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs index 4c0f8653..ffbe97ec 100644 --- a/src/garage/server.rs +++ b/src/garage/server.rs @@ -110,6 +110,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> { // Remove RPC handlers for system to break reference cycles garage.system.netapp.drop_all_handlers(); + opentelemetry::global::shutdown_tracer_provider(); // Await for netapp RPC system to end run_system.await?; |