chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b716ef5
)
bundles download: Explicitly drop ig to release lock after opening
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 4 May 2021 02:37:32 +0000
(
03:37
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 4 May 2021 11:28:51 +0000
(12:28 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/main.rs
patch
|
blob
|
history
diff --git
a/daemon/main.rs
b/daemon/main.rs
index 54d9c5adb841f5ace0012d4bc0c49829fb4f50f5..ae19e80954b42782d5d06f054ccf07ce2c74ef11 100644
(file)
--- a/
daemon/main.rs
+++ b/
daemon/main.rs
@@
-253,6
+253,7
@@
fn bundle<'r>(instance: Parse<InstanceName>,
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,
};