From 057b53113924aa1f0347b6db65a324b49af76551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 22 Aug 2020 23:34:31 +0200 Subject: Pretty up the cache interface; ensure feed2imap-go unlocks the cache --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 8d3aa15..99f104b 100644 --- a/main.go +++ b/main.go @@ -94,6 +94,7 @@ func run() error { if err != nil { return err } + defer state.UnlockCache() state.RemoveUndue() -- cgit v1.2.3