summaryrefslogtreecommitdiff
path: root/Command/Export.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Export.hs')
-rw-r--r--Command/Export.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Export.hs b/Command/Export.hs
index 38bda459c..c09253dc9 100644
--- a/Command/Export.hs
+++ b/Command/Export.hs
@@ -108,6 +108,8 @@ seek o = do
seekActions $ pure $ map (startExport r db) l
void $ liftIO cleanup'
+ closeDb db
+
startExport :: Remote -> ExportHandle -> Git.LsTree.TreeItem -> CommandStart
startExport r db ti = do
ek <- exportKey (Git.LsTree.sha ti)