From: Ian Jackson Date: Tue, 4 May 2021 02:37:32 +0000 (+0100) Subject: bundles download: Explicitly drop ig to release lock after opening X-Git-Tag: otter-0.6.0~389 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e04092a9601494fa149eb61279b98493f4d2615c;p=otter.git bundles download: Explicitly drop ig to release lock after opening Signed-off-by: Ian Jackson --- 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, };