Affects Version/s: Release 1.8.1
Product: Titanium Mobile
Titanium SDK: 1.8.1, 1.9.0 CI
Host OS: Mac OS X Lion
Platform OS: iOS
Platform OS Version: 5.0
Memory is not being released when a tab is removed from a tabGroup on iOS using 'removeTab'.
STEPS TO REPRODUCE
- Drop the above sample code into app.js.
- Start the application and open Instruments to profile it.
- Click the 'Remove Tab1' label.
- Search for 'proxy' in instruments and it can be seen that tab proxy(along with window and label proxies inside tab1) are not released even if memory warnings are simulated.
Proxies related to tab and elements inside it should be released.
Memory is not being freed.