[geary: 24/66] Also stop SMTP when GC vacuuming
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 24/66] Also stop SMTP when GC vacuuming
- Date: Tue, 30 Jun 2020 07:09:39 +0000 (UTC)
commit 8d9c9ea943491a838ee7bc17820d04c5441ba339
Author: Chris Heywood <15127-creywood users noreply gitlab gnome org>
Date: Thu Jan 9 13:38:33 2020 +0100
Also stop SMTP when GC vacuuming
src/engine/imap-db/imap-db-database.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/engine/imap-db/imap-db-database.vala b/src/engine/imap-db/imap-db-database.vala
index 5e0fc0ab6..d490d6c62 100644
--- a/src/engine/imap-db/imap-db-database.vala
+++ b/src/engine/imap-db/imap-db-database.vala
@@ -128,6 +128,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
if (account != null) {
this.want_background_vacuum = false;
yield account.imap.stop(gc_cancellable);
+ yield account.smtp.stop(gc_cancellable);
if (!vacuum_monitor.is_in_progress)
vacuum_monitor.notify_start();
@@ -145,6 +146,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
}
yield account.imap.start(gc_cancellable);
+ yield account.smtp.start(gc_cancellable);
} else {
// Flag a vacuum to run later when we've been idle in the background
debug("Flagging desire to GC vacuum");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]