{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29","id":49401506,"html_url":"https://github.com/bmatsuo/lmdb-go/pull/29","diff_url":"https://github.com/bmatsuo/lmdb-go/pull/29.diff","patch_url":"https://github.com/bmatsuo/lmdb-go/pull/29.patch","issue_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/29","number":29,"state":"open","locked":false,"title":"lmdb: adds a runtime finalizer to Env to reclaim memory","user":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"body":"The NewEnv function calls runtime.SetFinalizer the returned Env to\r\nensure that its Close method is called before garbage collection, when\r\nits C-managed memory would otherwise leak.","created_at":"2015-11-02T07:22:20Z","updated_at":"2015-11-02T07:22:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29/commits","review_comments_url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29/comments","review_comment_url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/29/comments","statuses_url":"https://api.github.com/repos/bmatsuo/lmdb-go/statuses/cc6497d6283cb370d029df5ff9cb16ee05ceb553","head":{"label":"bmatsuo:bmatsuo/lmdb-env-finalizer","ref":"bmatsuo/lmdb-env-finalizer","sha":"cc6497d6283cb370d029df5ff9cb16ee05ceb553","user":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"repo":{"id":31531429,"name":"lmdb-go","full_name":"bmatsuo/lmdb-go","owner":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmatsuo/lmdb-go","description":"Bindings for the LMDB C library","fork":false,"url":"https://api.github.com/repos/bmatsuo/lmdb-go","forks_url":"https://api.github.com/repos/bmatsuo/lmdb-go/forks","keys_url":"https://api.github.com/repos/bmatsuo/lmdb-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmatsuo/lmdb-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmatsuo/lmdb-go/teams","hooks_url":"https://api.github.com/repos/bmatsuo/lmdb-go/hooks","issue_events_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/events{/number}","events_url":"https://api.github.com/repos/bmatsuo/lmdb-go/events","assignees_url":"https://api.github.com/repos/bmatsuo/lmdb-go/assignees{/user}","branches_url":"https://api.github.com/repos/bmatsuo/lmdb-go/branches{/branch}","tags_url":"https://api.github.com/repos/bmatsuo/lmdb-go/tags","blobs_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmatsuo/lmdb-go/statuses/{sha}","languages_url":"https://api.github.com/repos/bmatsuo/lmdb-go/languages","stargazers_url":"https://api.github.com/repos/bmatsuo/lmdb-go/stargazers","contributors_url":"https://api.github.com/repos/bmatsuo/lmdb-go/contributors","subscribers_url":"https://api.github.com/repos/bmatsuo/lmdb-go/subscribers","subscription_url":"https://api.github.com/repos/bmatsuo/lmdb-go/subscription","commits_url":"https://api.github.com/repos/bmatsuo/lmdb-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmatsuo/lmdb-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmatsuo/lmdb-go/contents/{+path}","compare_url":"https://api.github.com/repos/bmatsuo/lmdb-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmatsuo/lmdb-go/merges","archive_url":"https://api.github.com/repos/bmatsuo/lmdb-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmatsuo/lmdb-go/downloads","issues_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues{/number}","pulls_url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls{/number}","milestones_url":"https://api.github.com/repos/bmatsuo/lmdb-go/milestones{/number}","notifications_url":"https://api.github.com/repos/bmatsuo/lmdb-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmatsuo/lmdb-go/labels{/name}","releases_url":"https://api.github.com/repos/bmatsuo/lmdb-go/releases{/id}","created_at":"2015-03-02T08:58:11Z","updated_at":"2015-11-02T06:21:31Z","pushed_at":"2015-11-02T07:15:43Z","git_url":"git://github.com/bmatsuo/lmdb-go.git","ssh_url":"git@github.com:bmatsuo/lmdb-go.git","clone_url":"https://github.com/bmatsuo/lmdb-go.git","svn_url":"https://github.com/bmatsuo/lmdb-go","homepage":null,"size":996,"stargazers_count":13,"watchers_count":13,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":13,"default_branch":"master"}},"base":{"label":"bmatsuo:master","ref":"master","sha":"f02b02a87ae99ff4285ce09d53d0fca06046e95d","user":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"repo":{"id":31531429,"name":"lmdb-go","full_name":"bmatsuo/lmdb-go","owner":{"login":"bmatsuo","id":15089,"avatar_url":"https://avatars.githubusercontent.com/u/15089?v=3","gravatar_id":"","url":"https://api.github.com/users/bmatsuo","html_url":"https://github.com/bmatsuo","followers_url":"https://api.github.com/users/bmatsuo/followers","following_url":"https://api.github.com/users/bmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/bmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmatsuo/subscriptions","organizations_url":"https://api.github.com/users/bmatsuo/orgs","repos_url":"https://api.github.com/users/bmatsuo/repos","events_url":"https://api.github.com/users/bmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/bmatsuo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmatsuo/lmdb-go","description":"Bindings for the LMDB C library","fork":false,"url":"https://api.github.com/repos/bmatsuo/lmdb-go","forks_url":"https://api.github.com/repos/bmatsuo/lmdb-go/forks","keys_url":"https://api.github.com/repos/bmatsuo/lmdb-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmatsuo/lmdb-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmatsuo/lmdb-go/teams","hooks_url":"https://api.github.com/repos/bmatsuo/lmdb-go/hooks","issue_events_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/events{/number}","events_url":"https://api.github.com/repos/bmatsuo/lmdb-go/events","assignees_url":"https://api.github.com/repos/bmatsuo/lmdb-go/assignees{/user}","branches_url":"https://api.github.com/repos/bmatsuo/lmdb-go/branches{/branch}","tags_url":"https://api.github.com/repos/bmatsuo/lmdb-go/tags","blobs_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmatsuo/lmdb-go/statuses/{sha}","languages_url":"https://api.github.com/repos/bmatsuo/lmdb-go/languages","stargazers_url":"https://api.github.com/repos/bmatsuo/lmdb-go/stargazers","contributors_url":"https://api.github.com/repos/bmatsuo/lmdb-go/contributors","subscribers_url":"https://api.github.com/repos/bmatsuo/lmdb-go/subscribers","subscription_url":"https://api.github.com/repos/bmatsuo/lmdb-go/subscription","commits_url":"https://api.github.com/repos/bmatsuo/lmdb-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmatsuo/lmdb-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmatsuo/lmdb-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmatsuo/lmdb-go/contents/{+path}","compare_url":"https://api.github.com/repos/bmatsuo/lmdb-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmatsuo/lmdb-go/merges","archive_url":"https://api.github.com/repos/bmatsuo/lmdb-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmatsuo/lmdb-go/downloads","issues_url":"https://api.github.com/repos/bmatsuo/lmdb-go/issues{/number}","pulls_url":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls{/number}","milestones_url":"https://api.github.com/repos/bmatsuo/lmdb-go/milestones{/number}","notifications_url":"https://api.github.com/repos/bmatsuo/lmdb-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmatsuo/lmdb-go/labels{/name}","releases_url":"https://api.github.com/repos/bmatsuo/lmdb-go/releases{/id}","created_at":"2015-03-02T08:58:11Z","updated_at":"2015-11-02T06:21:31Z","pushed_at":"2015-11-02T07:15:43Z","git_url":"git://github.com/bmatsuo/lmdb-go.git","ssh_url":"git@github.com:bmatsuo/lmdb-go.git","clone_url":"https://github.com/bmatsuo/lmdb-go.git","svn_url":"https://github.com/bmatsuo/lmdb-go","homepage":null,"size":996,"stargazers_count":13,"watchers_count":13,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29"},"html":{"href":"https://github.com/bmatsuo/lmdb-go/pull/29"},"issue":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/29"},"comments":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/bmatsuo/lmdb-go/statuses/cc6497d6283cb370d029df5ff9cb16ee05ceb553"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":1}}