tracker r3188 - in trunk: . src/tracker-indexer



Author: carlosg
Date: Tue Apr  7 16:36:04 2009
New Revision: 3188
URL: http://svn.gnome.org/viewvc/tracker?rev=3188&view=rev

Log:
2009-04-07  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer.c (index_flushing_notify_cb): Do not try to
        enter into finished state after flushing in the cleanup task, since it
        closes the indexes.

Modified:
   trunk/ChangeLog
   trunk/src/tracker-indexer/tracker-indexer.c

Modified: trunk/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-indexer.c	(original)
+++ trunk/src/tracker-indexer/tracker-indexer.c	Tue Apr  7 16:36:04 2009
@@ -503,6 +503,10 @@
 
 	state = indexer->private->state;
 
+	if ((state & TRACKER_INDEXER_STATE_CLEANUP) != 0) {
+		return;
+	}
+
 	if ((state & TRACKER_INDEXER_STATE_STOPPED) != 0 &&
 	    !tracker_db_index_get_flushing (indexer->private->file_index) &&
 	    !tracker_db_index_get_flushing (indexer->private->email_index)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]