adobe-webplatform / eve

Custom events…
http://dmitry.baranovskiy.com/eve/
Apache License 2.0
316 stars 111 forks source link

Memory leak #26

Closed ThomasBrierley closed 7 years ago

ThomasBrierley commented 8 years ago

Memory leak in adobe-webplatform/Snap.svg#369 is from eve.

From my post on the issue:

I found another accumulation of references within the event library "Eve". I think these might be the last of them: The event constructor / destructor are asymmetrical, the constructor walks the event tree creating any absent i-nodes in the event path before creating it's target event; the destructor removes it's target event from the tree but does not remove empty nodes in the event path above. For most events this results in a trail of redundant parent nodes.