Views set up manually with BeanEvent.SET_UP_BEAN are not automatically torn down

Description

Going through SET_UP_BEAN does not add the view to the wired views map, so when it is removed from stage it will not be automatically torn down because it's not in wiredViews.

Possible fix in handleBeanEvent():

Which would seem to work since SwizManager.setUp() won't do anything with the view if it is already in the wired views list, and assuming that a DisplayObject implementing ISetUpValidator is infered to be a view that the developer is attempting to manually set up themselves.

Environment

None

Status

Assignee

Ben Clinkinbeard

Reporter

Brian Kotek

Labels

None

Priority

Major
Configure