cbmpy icon indicating copy to clipboard operation
cbmpy copied to clipboard

Groups use references to objects

Open bgoli opened this issue 6 years ago • 1 comments

Currently Groups containing a simple list of objects that they collect. While this is an obvious way of doing things it can lead to the situation where, under certain circumstances a group membership can keep an object alive - even if deleted in the model.

I want to change the groups to use either a list of weakrefs or a weakrefdict instead and nullify the chances of creating reference cycles.

bgoli avatar Aug 11 '19 09:08 bgoli

First attempt committed as a0e1806

bgoli avatar Aug 11 '19 11:08 bgoli