GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-28T12:05:16.000+0000 |
Affected Version/s | Release 2.0.0, Release 1.8.2 |
Fix Version/s | Sprint 2012-05, Release 2.0.0, Release 2.1.0, Release 1.8.3 |
Components | iOS |
Labels | module_tabgroup, qe-testadded |
Reporter | Sandeep Bhimavarapu |
Assignee | Max Stepanov |
Created | 2012-03-01T13:38:21.000+0000 |
Updated | 2012-06-28T19:02:02.000+0000 |
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.
*SAMPLE CODE*
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.
*OBSERVATIONS*
Tab proxies are removed if we remove the tabs after clicking on them.
Closing bug. Verified fix using KS and Sample Code on: SDK build: 2.0.0.v20120316124800 Titanium Studio, build: 2.0.0.201203152033 xcode: 4.2 Device: iphone 4s Verizon (5.0.1) Note to QE: * It takes a while for all the TiUITabProxy objects to be released. * Port TabTest.zip
Reopened to make put proper tags.
reopening/closing to add/remove labels
TiUITabProxy object is not being released Tested with Titanium SDK: 2.1.0.v20120627151616 Tested with Titanium Studio: 2.1.0.201206251749 Devices: iphone 3GS(5.0.1) OS: OSX 10.7.3 This was working fine on 2.1.0.v20120625134154 and 2.0.2
Closing issue: Tested with Ti Studio build 2.1.0.201206251749 Ti Mobile SDK 2.1.0.v20120628121617 hash r6e3cab6a OSX Lion 10.7.3 iPhone 3GS 4.3.5, iPhone 4S OS 5.0.1 Verified that the expected result is shown. *Note* A tabproxy will still be left after you remove all tabs because the tab group is still there just not tabs in it.