[PATCH 9/8] qparser: Delete (and thus close) the Xapian database.
Austin Clements
amdragon at MIT.EDU
Sun Jan 30 20:33:41 PST 2011
I removed this line in a bout of overzealous deletions. The visible
consequence was that the database was being unlocked lazily, resulting
in a brief window after notmuch had exited but the database was still
locked.
---
I admit this patch series numbering is getting a little out of hand.
As usual, this can be found on the qparser branch at
http://awakening.csail.mit.edu/git/notmuch.git
lib/database.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/database.cc b/lib/database.cc
index 7253bdf..3c488a9 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -826,6 +826,7 @@ notmuch_database_close (notmuch_database_t *notmuch)
}
delete notmuch->term_gen;
+ delete notmuch->xapian_db;
talloc_free (notmuch);
}
--
1.7.2.3
More information about the notmuch
mailing list