From 23d1bfb2e51c9db929adceb7a1970962b263a81b Mon Sep 17 00:00:00 2001 From: Austin Ray Date: Fri, 22 Mar 2019 08:27:08 -0400 Subject: [PATCH] notmuch: close thread queries' hcache on SigInt (#1606) Ensure read_threads_query() behaves the same as read_mesgs_query() when receiving SigInt. --- notmuch/mutt_notmuch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/notmuch/mutt_notmuch.c b/notmuch/mutt_notmuch.c index 7ee9552bc..2a972e302 100644 --- a/notmuch/mutt_notmuch.c +++ b/notmuch/mutt_notmuch.c @@ -1184,6 +1184,7 @@ static bool read_threads_query(struct Mailbox *m, notmuch_query_t *q, bool dedup { if (SigInt == 1) { + nm_hcache_close(h); SigInt = 0; return false; } -- 2.40.0