[TIMOB-24870] Android: Reopening a closed window causes all components in the window to be lost
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-22T01:45:23.000+0000 |
Affected Version/s | Release 6.1.1 |
Fix Version/s | Release 6.1.1 |
Components | Android |
Labels | n/a |
Reporter | Muhammad Ahmed Fahad |
Assignee | Gary Mathews |
Created | 2017-06-21T04:20:03.000+0000 |
Updated | 2017-06-25T06:25:56.000+0000 |
master: https://github.com/appcelerator/titanium_mobile/pull/9169 6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9170
Passed FR with this environment: Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.2 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.X locally built from PR/9170 Appcelerator Studio, build: 4.9.0.201705302345 Xcode 8.3.2 I first reproduce the bug on SDK 6.1.0. Tapping on the blue window turned red. Next, tapping on the red window caused the app to crash. Then I tried the demo app with the proposed fix, and found that when tapping on the window alternates between the blue window and red window with no errors. FR passed.
Fixes appear in these builds: 6.1.1.v20170621181735 6.2.0.v20170622013245 Closing ticket.
[~gmathews] if the childviews are not cleaned up on close. Would this cause a leak in scenarios where there is no re-use of the window, ie closed with an expectation the contents would be destroyed.