From 01259104e1d6fa1e20fbbcc82cd520eba17f837d Mon Sep 17 00:00:00 2001 From: Michael James Gratton Date: Mon, 20 Nov 2017 19:51:03 +1100 Subject: [PATCH] Actually fire Geary.Account::closed signal when closing accounts. --- src/engine/imap-engine/imap-engine-generic-account.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/imap-engine/imap-engine-generic-account.vala b/src/engine/imap-engine/imap-engine-generic-account.vala index 455d2919..d8a54f40 100644 --- a/src/engine/imap-engine/imap-engine-generic-account.vala +++ b/src/engine/imap-engine/imap-engine-generic-account.vala @@ -226,7 +226,9 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account { folder_map.clear(); local_only.clear(); open = false; - + + notify_closed(); + if (local_err != null) throw local_err;