You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When teardown is called on a swiz instance (either through SwizManager or Swiz.tearDown), the swiz instance is pinned in memory because an event listener is not removed. If a new swiz instance is created after, the new swiz instance will use the torn down one as the parent.
Swiz.as line 414: dispatcher.addEventListener( SwizEvent.CREATED, handleSwizCreatedEvent );
A possible solution is to add to the teardown method: dispatcher.removeEventListener( SwizEvent.CREATED, handleSwizCreatedEvent );
The text was updated successfully, but these errors were encountered:
Migrated from SWIZ-67
When teardown is called on a swiz instance (either through SwizManager or Swiz.tearDown), the swiz instance is pinned in memory because an event listener is not removed. If a new swiz instance is created after, the new swiz instance will use the torn down one as the parent.
Swiz.as line 414: dispatcher.addEventListener( SwizEvent.CREATED, handleSwizCreatedEvent );
A possible solution is to add to the teardown method:
dispatcher.removeEventListener( SwizEvent.CREATED, handleSwizCreatedEvent );
The text was updated successfully, but these errors were encountered: