[TIMOB-7712] V8: When backing out of an application a crash occurs during nativeDispose.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-21T10:25:37.000+0000 |
Affected Version/s | Release 1.8.2 |
Fix Version/s | Sprint 2012-04, Release 2.0.0, Release 1.8.2 |
Components | Android |
Labels | module_window, qe-testadded, regression |
Reporter | Josh Roesslein |
Assignee | Josh Roesslein |
Created | 2012-02-17T13:49:23.000+0000 |
Updated | 2012-02-22T11:13:58.000+0000 |
Description
When an application is exited and we perform dispose, a crash will occur.
This only seems to happen when require() or Window URLs are used.
var win = Ti.UI.createWindow();
var mod = require('mymod'); // <-- mymod.js can just be empty.
win.open();
Run the above application. Once the window has opened hit the back button
to exit out of the application.
Expected: No native crash.
Actual: A crash will occur shortly after.
Sent [PR #1464](https://github.com/appcelerator/titanium_mobile/pull/1464) to resolve issue.
Closing as Fixed. SDK: 1.8.2.v20120221114636 Android: V8 Studio: 1.0.9.201202131024 OS: Snow Leopard Devices Tested: Nexus One 2.2.2, Revolution 2.3.4