{ "id": "103235", "key": "TIMOB-11432", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-12T18:38:49.000+0000", "created": "2012-10-12T18:11:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_memory", "qe-review", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:47.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Drop Code in app.js. Run with Allocations instruments. Open and close window. See buttonProxy leak.\r\n{code}\r\nvar basewin = Ti.UI.createWindow();\r\nbasewin.open();\r\n \r\nvar openwin1 = Ti.UI.createButton({\r\n        title:\"Case 1\",\r\n    });\r\n \r\nbasewin.add(openwin1);\r\n \r\nopenwin1.addEventListener('click', function(e) {\r\n        var win2 = Titanium.UI.createWindow({ \r\n            backgroundColor:'#fff'\r\n        });\r\n        var label2 = Titanium.UI.createLabel({\r\n            color:'#999',\r\n            text:'I am Window 2',\r\n            font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n            textAlign:'center',\r\n            width:'auto'\r\n        });\r\n          \r\n        win2.add(label2);\r\n          \r\n\t\twin2.open();\r\n        var close = Ti.UI.createButton({\r\n                title:\"Close\",\r\n                bottom:'20dp',\r\n                height:'35dp',\r\n                width:'180dp'\r\n        });\r\n         \r\n        close.addEventListener('click', function(e) {\r\n \t\t\t\twin2.close();\r\n        });\r\n \t\twin2.add(close);\r\n         \r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Memory Leaks in new eventing system", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "223285", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master PR https://github.com/appcelerator/titanium_mobile/pull/3188\n3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3189", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-12T18:28:00.000+0000", "updated": "2012-10-12T18:28:00.000+0000" }, { "id": "230294", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested on: \r\nTitanium Studio, build: 3.0.0.201211301903\r\nTitanium SDK, builds: 3.0.0.v20121206113203; 3.1.0.v20121206112601\r\nDevices: iPhone 4 (5.1.1)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-06T21:38:58.000+0000", "updated": "2012-12-06T21:38:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }