SIGN IN SIGN UP

Fixes for circular dependencies preventing Entity destruction, and Listener re/un-assignment (#129)

* Don't rely on the _entities dictionary in the Entity finalizer.

In the presence of circular references the object being finalized may
well have already been removed from the WeakValueDictionary that makes
up the _entities store. See: https://gist.github.com/willstott101/8544a7c966b0788ff4f93da410e9fea7

* Support un-assigning listeners in Entity, and fix bug with reassignment.

* Add test for listener reassignment corner-cases
W
Will Stott committed
40cf316a192789919ad0260f6f7e0d11ef40f276
Parent: 30ddbb0
Committed by GitHub <noreply@github.com> on 8/19/2022, 11:58:21 AM