Commit 7e804a0c authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Check there's no other active operations

This function is called from monitor operations, and relies that there's
no previous operations being handled. This might well not be true, so
ensure the queues are idle before going ahead.
parent 270dec9d
Pipeline #193396 passed with stage
in 1 minute and 39 seconds
......@@ -894,7 +894,8 @@ notifier_queue_root (TrackerFileNotifier *notifier,
priv->pending_index_roots = g_list_append (priv->pending_index_roots, data);
notifier_check_next_root (notifier);
if (!priv->current_index_root)
notifier_check_next_root (notifier);
/* This function ensures to issue ::file-created for all
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