From 64e36b1183c4d236d3300c28167449584a19e04f Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 12 Jul 2010 16:01:29 +0100 Subject: [PATCH] Break a refcycle between TpfPersonaStore and TpfPersona This is achieved by making the pointer that each TpfPersona holds to their relevant TpfPersonaStore a weak pointer, rather than a referenced pointer. --- folks/persona.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folks/persona.vala b/folks/persona.vala index 3abe781..417703c 100644 --- a/folks/persona.vala +++ b/folks/persona.vala @@ -49,5 +49,5 @@ public abstract class Folks.Persona : Object /** * The {@link PersonaStore} which contains this Persona. */ - public PersonaStore store { get; construct; } + public weak PersonaStore store { get; construct; } } -- 2.7.4