Affects Version/s: Release 2.0.0, Release 1.8.2
Product: Titanium Mobile
Titanium SDK: 1.8.2
Host OS: Mac OS X Lion
Platform OS: iOS
Platform OS Version: 5.0
TabProxy is not being garbage collected when a tab is removed from a tabgroup using removeTab before focusing the tab/ clicking on it.
STEPS TO REPRODUCE
Open Kitchen Sink and keep on clicking Add/ Remove Tab in Base UI -> Tab Groups. Profile the app using instruments and it is evident that tab proxies are not being released.
Please find the sample code attached. This attached application has a base tab and buttons in it using which new tabs can be created and removed.
Tab proxies are removed if we remove the tabs after clicking on them.