diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-20 14:20:58 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-20 14:20:58 +0100 |
commit | 182a23cc1207c97922a24182c15e2b228015e8f4 (patch) | |
tree | 996b3ef37a4402c00feeb013fc6681778b500d03 /src/garage/server.rs | |
parent | 3cdf69f07924d120c572577495789774535daafe (diff) | |
download | garage-182a23cc1207c97922a24182c15e2b228015e8f4.tar.gz garage-182a23cc1207c97922a24182c15e2b228015e8f4.zip |
[peer-metrics] refactor SystemMetrics to hold a reference to System
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 51b06b8e..6323f957 100644 --- a/src/garage/server.rs +++ b/src/garage/server.rs @@ -162,6 +162,7 @@ pub async fn run_server(config_file: PathBuf, secrets: Secrets) -> Result<(), Er info!("Netapp exited"); // Drop all references so that stuff can terminate properly + garage.system.cleanup(); drop(garage); // Await for all background tasks to end |