Add minor missing cleanup
this.gc would previously never have been released if GC reap wasn't recommended and run
This commit is contained in:
parent
15561a1108
commit
ff6c45c29c
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
|
|||
if ((recommended & GC.RecommendedOperation.REAP) != 0) {
|
||||
// run in the background and allow application to continue running
|
||||
this.gc.reap_async.begin(gc_cancellable, on_reap_async_completed);
|
||||
} else {
|
||||
this.gc = null;
|
||||
}
|
||||
|
||||
if (cancellable != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue