{"action":"opened","issue":{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/15","repository_url":"https://api.github.com/repos/Cook-E-team/Cook-E","labels_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/15/comments","events_url":"https://api.github.com/repos/Cook-E-team/Cook-E/issues/15/events","html_url":"https://github.com/Cook-E-team/Cook-E/issues/15","id":134804397,"number":15,"title":"SQLite code should close() Cursors","user":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/labels/detail","name":"detail","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Cook-E-team/Cook-E/milestones/3","html_url":"https://github.com/Cook-E-team/Cook-E/milestones/Feature-Complete%20Release","labels_url":"https://api.github.com/repos/Cook-E-team/Cook-E/milestones/3/labels","id":1552557,"number":3,"title":"Feature-Complete Release","description":"https://courses.cs.washington.edu/courses/cse403/16wi/assignments/project6.html","creator":{"login":"samcrow","id":1839330,"avatar_url":"https://avatars.githubusercontent.com/u/1839330?v=3","gravatar_id":"","url":"https://api.github.com/users/samcrow","html_url":"https://github.com/samcrow","followers_url":"https://api.github.com/users/samcrow/followers","following_url":"https://api.github.com/users/samcrow/following{/other_user}","gists_url":"https://api.github.com/users/samcrow/gists{/gist_id}","starred_url":"https://api.github.com/users/samcrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samcrow/subscriptions","organizations_url":"https://api.github.com/users/samcrow/orgs","repos_url":"https://api.github.com/users/samcrow/repos","events_url":"https://api.github.com/users/samcrow/events{/privacy}","received_events_url":"https://api.github.com/users/samcrow/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-01-30T07:13:29Z","updated_at":"2016-02-19T08:29:20Z","due_on":"2016-02-26T08:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-19T08:29:20Z","updated_at":"2016-02-19T08:29:20Z","closed_at":null,"body":"All code that uses SQLite to retrieve data must explicitly close any cursors that it uses. Not doing so might cause memory or resource leaks.\r\n\r\nCursor closing can be ensured with try-finally blocks:\r\n\r\n    final Cursor result = ...;\r\n    try {\r\n        get data from cursor\r\n    } finally {\r\n        cursor.close();\r\n    }\r\n\r\nThe `SQLiteAccessor` class does not currently do this."}}