Commit e64f83ac authored by Jonathan Matthew's avatar Jonathan Matthew

rhythmdb: set 'removed' flag in rhythmdb_entry_delete_by_type

This ensures that future entry changes are ignored, which prevents
the rhythmdb hash table tree from getting messed up. probably
parent dd390139
......@@ -1728,6 +1728,7 @@ remove_one_song (gpointer key,
g_mutex_unlock (db->priv->keywords_lock);
remove_entry_from_album (db, entry);
g_hash_table_remove (db->priv->entry_ids, GINT_TO_POINTER (entry->id));
rhythmdb_entry_unref (entry);
return TRUE;
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