From e04092a9601494fa149eb61279b98493f4d2615c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 4 May 2021 03:37:32 +0100 Subject: [PATCH] bundles download: Explicitly drop ig to release lock after opening Signed-off-by: Ian Jackson --- daemon/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/main.rs b/daemon/main.rs index 54d9c5ad..ae19e809 100644 --- a/daemon/main.rs +++ b/daemon/main.rs @@ -253,6 +253,7 @@ fn bundle<'r>(instance: Parse, Err(e) => throw!(IE::from(AE::from(e).context(path).context("bundle"))), Ok(y) => y, }; + drop(ig); let ctype = match id.kind { bundles::Kind::Zip => ContentType::ZIP, }; -- 2.30.2