Fiona / Myrmidon

A Python framework for rapid game development.
16 stars 6 forks source link

`next_sibling` and `prev_sibling` prevent Entities from being garbage collected #73

Closed Frimkron closed 9 years ago

Frimkron commented 9 years ago

Entities remain referenced by their siblings even after they have been destroyed, preventing them from being garbage collected and accumulating in memory.

I presume it would be ok to set the appropriate references to None when the entity is destroyed?