{ "id": "62237", "key": "TIMOB-1605", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11226", "name": "Release 1.5.0 M01", "archived": true, "released": true, "releaseDate": "2010-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:39.000+0000", "created": "2011-04-15T02:57:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:56:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Backing out of windows that have contexts, or even backing out\nof the whole app, does not end the HandlerThread that the\nKrollContext runs in. If you back out of an app, for example, then\nreactivate it again from the home screen, you'll get a whole new\nset of threads, while the other ones will also still be hanging\naround (assuming Android never terminated the app to recover\nresources.) The same holds true if you open and close windows with\ncontexts.

\n

The behavior can be seen in this video:

\n

http://screencast.com/t/YjJlZjQ5NjUt

\n

(I accidentally go to the KitchenSink app a few times in that\nvideo -- ignore that.)

{html}", "attachment": [], "flagged": false, "summary": "Android: KrollContext handler threads never quit", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "126177", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [d2424ff557b69a39a573ebd1c2c53565a1b106dc])\nMove the location of the Kroll release stuff from last commit.\n[#1605] \nhttp://github.com/appcelerator/titanium_mobile/commit/d2424ff557b69...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:13.000+0000", "updated": "2011-04-15T02:57:13.000+0000" }, { "id": "126178", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

This has been fixed since August, not sure why I kept it open. I\nconfirmed today that it's still fixed in 1.5.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:57:13.000+0000", "updated": "2011-04-15T02:57:13.000+0000" }, { "id": "126179", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

closing - Titanium SDK version: 1.5.0 (12/08/10 14:51\n55a4c32)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:57:13.000+0000", "updated": "2011-04-15T02:57:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }