{ "id": "61725", "key": "TIMOB-1093", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-25T17:05:17.000+0000", "created": "2011-04-15T02:43:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "setinterval" ], "versions": [], "issuelinks": [ { "id": "19190", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T06:07:50.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}

seems to continue to run (from console logging) after you exit\nfrom the test.

{html}", "attachment": [], "flagged": false, "summary": "Android: setInterval continues after exiting the test", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124826", "author": { "name": "todd", "key": "todd", "displayName": "Todd", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I found a potential issue with setInterval and setTimeout,\nthough it may related or operating as designed the documentation\ndoes not mention this caveat on usage

\n

In simple app.js
\n1. use setInterval(testFunc,100) 2. in the testFunction just use\nTi.API.info('interval fire'); to verify operation 3. create a\nheavywieght window by setting navBarHidden:true property and then\nopen it.

\n

You should see that the timer fires until the heavywieght opens,\nremove the navBarHidden property and the event continues to fire\neven after the open.

\n

Not sure if this is a context issue or what but seems like it\nshould work both with heavywieght and non-heavywieght windows since\napp.js continues to execute other in line code just fine after the\nopen.

{html}", "updateAuthor": { "name": "todd", "key": "todd", "displayName": "Todd", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:43:53.000+0000", "updated": "2011-04-15T02:43:53.000+0000" }, { "id": "209470", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-25T17:05:07.000+0000", "updated": "2012-07-25T17:05:07.000+0000" }, { "id": "408772", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T06:07:50.000+0000", "updated": "2017-03-03T06:07:50.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }