Commit f7d07652 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Carlos Garnacho

Do not try to enter into finished state after flushing in the cleanup

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.

svn path=/trunk/; revision=3188
parent 933c29b0
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.
2009-04-07 Martyn Russell <martyn@imendio.com>
* src/tracker-extract/tracker-main.c: (main): Make sure we send
......
......@@ -503,6 +503,10 @@ index_flushing_notify_cb (GObject *object,
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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment