GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-20T14:41:19.000+0000 |
Affected Version/s | Release 2.0.0, Release 2.0.1 |
Fix Version/s | Release 2.0.2, Release 2.1.0, Sprint 2012-08 |
Components | Android |
Labels | core, qe-and040912, regression |
Reporter | Dustin Hyde |
Assignee | Allen Yeung |
Created | 2012-04-12T16:27:29.000+0000 |
Updated | 2012-05-20T19:17:04.000+0000 |
When the RSS Reader sample is used and the back button is pressed after viewing a feed, the app crashes with a leaked window log.
The crash is intermittent, but frequent.
This does not occur in 1.8.2. Regression.
Playing a youtube video increased the chances of a crash.
Steps to Reproduce:
1. Run the RSS Reader sample.
2. Press a feed, wait for it to load.
3. Press back.
Expected Result:
App returns to menu.
Actual Result:
Crash.
PR Ready: https://github.com/appcelerator/titanium_mobile/pull/1998 The problem is that the webview is getting destroyed while it is being loaded (specifically some of the zoom controls in this instance). To prevent this, we don't want to destroy the webview inside onDestroy, but simply stop loading the webview contents instead.
Tested with 2.0.2.v20120510223154 on Droid 3 2.3.4