TEAR_DOWN_BEAN request is ignored

Description

With version 1.0 it was possible to dispatch a TEAR_DOWN_BEAN event in order to tear down some bean. Since version 1.1 this doesn't work anymore. I'm getting the following log message:

I've attached a sample project to reproduce the bug. If you replace the Swiz 1.1 library with version 1.0 you can see the different trace logs.

Steps to reproduce:

  • Start the sample project in debug mode

  • Click on "Dispatch some event"

  • Click on "Tear down bean"

  • Click on "Dispatch some event"

  • Look at the trace output

Expected trace output (from version 1.0):

Actual trace output (from version 1.1):

The last two lines are different. Since the TEAR_DOWN_BEAN request is ignored the event handler onFoo() is still executed which could lead to some unexpected behaviour.

Environment

Flex SDK 4.5

Status

Assignee

ChrisC

Reporter

Gerhard

Labels

None

Fix versions

Affects versions

Priority

Major
Configure