aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2017-08-03 08:08:08 +0200
committerLaria Carolin Chabowski <laria@laria.me>2017-09-26 21:35:40 +0200
commit9f8ced40c574054de052849c43f69b66e1e91640 (patch)
tree94e3c223f4da77b02fb7de974d3fadbca5be8ee2
parent4e4bcb8101848643c49d12b81713b6355e30bf18 (diff)
downloadpetrific-9f8ced40c574054de052849c43f69b66e1e91640.tar.gz
petrific-9f8ced40c574054de052849c43f69b66e1e91640.tar.bz2
petrific-9f8ced40c574054de052849c43f69b66e1e91640.zip
Close the objectstore when done
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 51573a6..c753a01 100644
--- a/main.go
+++ b/main.go
@@ -44,6 +44,7 @@ func Main() int {
if !loadConfig() {
return 1
}
+ defer objectstore.Close()
remaining := flag.Args()