Commit 6f743fdc authored by Philip Withnall's avatar Philip Withnall
Browse files

core: Don’t keep references to PersonaStores in each Individual

Pointless and it makes debugging reference counting bugs a real pain.
parent 921686c3
......@@ -108,8 +108,8 @@ public class Folks.Individual : Object,
/* Mapping from PersonaStore -> number of Personas from that store contained
* in this Individual. There shouldn't be any entries with a number < 1.
* This is used for working out when to disconnect from store signals. */
private HashMap<PersonaStore, uint> _stores =
new HashMap<PersonaStore, uint> (null, null);
private HashMap<unowned PersonaStore, uint> _stores =
new HashMap<unowned PersonaStore, uint> (null, null);
/* The number of Personas in this Individual which have
* Persona.is_user == true. Iff this is > 0, Individual.is_user == true. */
private uint _persona_user_count = 0;
......
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