behavioral Registry keeps direct references of instances preventing garbage collection
Dalvenjia opened this issue · comments
Martin Rodriguez commented
By keeping a direct reference of the instances as the values in the registry dict the garbage collector will never dispose off of otherwise unreferenced instances, you can use weak references to prevent this, and maybe add some scheduled cleaning of deleted instances.
I can make a PR if you want
Martin Rodriguez commented
My bad, the class objects are being saved, not instances... closing this