diff options
author | Alex Auvolat <alex@adnab.me> | 2022-03-15 12:04:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-23 10:25:15 +0100 |
commit | c1d9854d2c5998adcad60784ec54659113c28a9f (patch) | |
tree | cb6bd08213ac4b97f91f9bb9ffb83244d5180e97 /src/garage | |
parent | 8565f7dc314f194ba85e9a0c8a021b9565c22e36 (diff) | |
download | garage-c1d9854d2c5998adcad60784ec54659113c28a9f.tar.gz garage-c1d9854d2c5998adcad60784ec54659113c28a9f.zip |
Move block manager to separate module
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/server.rs | 3 |
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 |