{ "id": "83954", "key": "TIMOB-6713", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-11T22:52:27.000+0000", "created": "2011-12-15T17:16:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_titanium", "parity", "qe-3.2.3", "qe-testadded", "regression", "verified-1.8.0.1" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-11T22:52:27.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": "Expected:\r\n After hitting \"back\" button to leave the application and trigger a destroy,\r\n the timer should stop running and no more messages should be logged.\r\n\r\nActual:\r\n Timer continues to run logging out messages.\r\n\r\n{code:title=app.js}\r\nsetInterval(function () {\r\n Ti.API.info(\"Beep.\");\r\n}, 1000);\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Timers are not being cancelled when onDestroy() is called.", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Runtime: V8 & Rhino\r\nSDK Version: 1.8.0 (master)", "comment": { "comments": [ { "id": "176487", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\n\r\nSDK build: 1.8.0.1.RC3\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.7.201112152014\r\nOS: Mac OS X Lion\r\nDevice: Nexus S (2.3.6)\r\n\r\nNote: Did not verify fix on 1.9.0 yet; will not close bug. ", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T09:48:24.000+0000", "updated": "2011-12-19T10:02:06.000+0000" }, { "id": "178955", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Already verified fix on 1.8.0.1", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-11T15:25:01.000+0000", "updated": "2012-01-11T15:25:01.000+0000" }, { "id": "300448", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened:\nAppcelerator Studio, build: 3.2.3.201404081806\nTitanium SDK, build: 3.2.3.v20140403105720\nNode.JS Version: v0.10.13\nNPM Version: 1.3.2\n├── acs@1.0.14\n├── alloy@1.3.1\n├── node-appc@0.2.0\n├── npm@1.3.2\n├── titanium@3.2.3-alpha2\n└── titanium-code-processor@1.1.1-alpha\nDevices:\nGalaxyS4 Android version 4.2.2\nNexus7 Android version 4.3\n{code}\n[INFO] : Beep.\n[INFO] : Beep.\n[INFO] : Beep.\n[INFO] : Beep.\n[DEBUG] : Window: Window is closed normally.\n[INFO] : Beep.\n[INFO] : Beep.\n[INFO] : Beep.\n{code}\n\nTimers are not being cancelled after Back button is pressed.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-09T22:40:27.000+0000", "updated": "2014-04-09T22:40:27.000+0000" }, { "id": "300585", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm unable to reproduce this. Seems to work fine with latest master and 3.2.x branch.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-10T20:35:57.000+0000", "updated": "2014-04-10T20:35:57.000+0000" }, { "id": "300727", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Timers are being cancelled as expected when the app is closed.\n\nEnvironment:\nAppc Studio : 3.2.3.201404111117\nTi SDK : 3.2.3.v20140403105720\nMac OSX : 10.8.5\nAlloy : 1.3.1\t\nCLI - 3.2.3-alpha2\nSamsung Galaxy S4 running android 4.2.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-11T22:20:42.000+0000", "updated": "2014-04-11T22:20:42.000+0000" }, { "id": "300729", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to edit comment.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-11T22:29:20.000+0000", "updated": "2014-04-11T22:29:20.000+0000" }, { "id": "300732", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-11T22:52:27.000+0000", "updated": "2014-04-11T22:52:27.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }