aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-15 12:04:12 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-23 10:25:15 +0100
commitc1d9854d2c5998adcad60784ec54659113c28a9f (patch)
treecb6bd08213ac4b97f91f9bb9ffb83244d5180e97 /src/garage/server.rs
parent8565f7dc314f194ba85e9a0c8a021b9565c22e36 (diff)
downloadgarage-c1d9854d2c5998adcad60784ec54659113c28a9f.tar.gz
garage-c1d9854d2c5998adcad60784ec54659113c28a9f.zip
Move block manager to separate module
Diffstat (limited to 'src/garage/server.rs')
-rw-r--r--src/garage/server.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/garage/server.rs b/src/garage/server.rs
index 37c3535e..58c9e782 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -98,8 +98,7 @@ pub async fn run_server(config_file: PathBuf) -> Result<(), Error> {
// Await for netapp RPC system to end
run_system.await?;
- // Break last reference cycles so that stuff can terminate properly
- garage.break_reference_cycles();
+ // Drop all references so that stuff can terminate properly
drop(garage);
// Await for all background tasks to end