PDA

View Full Version : beforeTabChange & closed tabs



cstansbury
9 Feb 2010, 10:21 AM
Ext is behaving in a way I wasn't expecting... Following these steps:

1. Create a new TabPanel
2. Register interest in it's "beforeTabChange" events
3. Add a single tab
4. Close said tab
5. Add another single tab

At this point I get a beforeTabChange with an oldTab of the tab that was closed (and destroyed) in step 4 rather than null, as I would have expected. Is this expected behavior, or is it revealing a possible leak on my part?