[geary/wip/improve-claiming-folder-session: 8/9] Ensure the IMAP pool is stopped on connection error
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/improve-claiming-folder-session: 8/9] Ensure the IMAP pool is stopped on connection error
- Date: Mon, 19 Nov 2018 13:35:52 +0000 (UTC)
commit 280230306d226225502aa28970484a75af5aceaa
Author: Michael Gratton <mike vee net>
Date: Wed Nov 14 16:51:22 2018 +1100
Ensure the IMAP pool is stopped on connection error
This ensures that starting the account's incoming service actually
starts the pool, and hence the user can use the problem report retry
button to recover from this.
src/engine/imap/transport/imap-client-session-manager.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/engine/imap/transport/imap-client-session-manager.vala
b/src/engine/imap/transport/imap-client-session-manager.vala
index e9177100..4546d2c0 100644
--- a/src/engine/imap/transport/imap-client-session-manager.vala
+++ b/src/engine/imap/transport/imap-client-session-manager.vala
@@ -368,6 +368,7 @@ public class Geary.Imap.ClientSessionManager : BaseObject {
} catch (Error err) {
debug("[%s] Error adding new session to the pool: %s",
this.id, err.message);
+ this.close_pool.begin();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]