{"action":"closed","number":114,"pull_request":{"url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114","id":74859338,"html_url":"https://github.com/nats-io/nats-streaming-server/pull/114","diff_url":"https://github.com/nats-io/nats-streaming-server/pull/114.diff","patch_url":"https://github.com/nats-io/nats-streaming-server/pull/114.patch","issue_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/114","number":114,"state":"closed","locked":false,"title":"Fix data race on client close","user":{"login":"kozlovic","id":13736691,"avatar_url":"https://avatars.githubusercontent.com/u/13736691?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovic","html_url":"https://github.com/kozlovic","followers_url":"https://api.github.com/users/kozlovic/followers","following_url":"https://api.github.com/users/kozlovic/following{/other_user}","gists_url":"https://api.github.com/users/kozlovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovic/subscriptions","organizations_url":"https://api.github.com/users/kozlovic/orgs","repos_url":"https://api.github.com/users/kozlovic/repos","events_url":"https://api.github.com/users/kozlovic/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovic/received_events","type":"User","site_admin":false},"body":"The queue state object needs to be locked when removing a subscriber\r\nfrom the list.","created_at":"2016-06-22T21:19:12Z","updated_at":"2016-06-23T07:01:29Z","closed_at":"2016-06-23T07:01:29Z","merged_at":"2016-06-23T07:01:29Z","merge_commit_sha":"a92d865f30fae63b5c02ae06697cc364103c510c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114/commits","review_comments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114/comments","review_comment_url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/114/comments","statuses_url":"https://api.github.com/repos/nats-io/nats-streaming-server/statuses/6cd1c02156ac0e54fab2307f3db98c90863be2ac","head":{"label":"nats-io:fix_data_race","ref":"fix_data_race","sha":"6cd1c02156ac0e54fab2307f3db98c90863be2ac","user":{"login":"nats-io","id":10203055,"avatar_url":"https://avatars.githubusercontent.com/u/10203055?v=3","gravatar_id":"","url":"https://api.github.com/users/nats-io","html_url":"https://github.com/nats-io","followers_url":"https://api.github.com/users/nats-io/followers","following_url":"https://api.github.com/users/nats-io/following{/other_user}","gists_url":"https://api.github.com/users/nats-io/gists{/gist_id}","starred_url":"https://api.github.com/users/nats-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nats-io/subscriptions","organizations_url":"https://api.github.com/users/nats-io/orgs","repos_url":"https://api.github.com/users/nats-io/repos","events_url":"https://api.github.com/users/nats-io/events{/privacy}","received_events_url":"https://api.github.com/users/nats-io/received_events","type":"Organization","site_admin":false},"repo":{"id":54661965,"name":"nats-streaming-server","full_name":"nats-io/nats-streaming-server","owner":{"login":"nats-io","id":10203055,"avatar_url":"https://avatars.githubusercontent.com/u/10203055?v=3","gravatar_id":"","url":"https://api.github.com/users/nats-io","html_url":"https://github.com/nats-io","followers_url":"https://api.github.com/users/nats-io/followers","following_url":"https://api.github.com/users/nats-io/following{/other_user}","gists_url":"https://api.github.com/users/nats-io/gists{/gist_id}","starred_url":"https://api.github.com/users/nats-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nats-io/subscriptions","organizations_url":"https://api.github.com/users/nats-io/orgs","repos_url":"https://api.github.com/users/nats-io/repos","events_url":"https://api.github.com/users/nats-io/events{/privacy}","received_events_url":"https://api.github.com/users/nats-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nats-io/nats-streaming-server","description":"NATS Streaming System Server","fork":false,"url":"https://api.github.com/repos/nats-io/nats-streaming-server","forks_url":"https://api.github.com/repos/nats-io/nats-streaming-server/forks","keys_url":"https://api.github.com/repos/nats-io/nats-streaming-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nats-io/nats-streaming-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nats-io/nats-streaming-server/teams","hooks_url":"https://api.github.com/repos/nats-io/nats-streaming-server/hooks","issue_events_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/events{/number}","events_url":"https://api.github.com/repos/nats-io/nats-streaming-server/events","assignees_url":"https://api.github.com/repos/nats-io/nats-streaming-server/assignees{/user}","branches_url":"https://api.github.com/repos/nats-io/nats-streaming-server/branches{/branch}","tags_url":"https://api.github.com/repos/nats-io/nats-streaming-server/tags","blobs_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nats-io/nats-streaming-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nats-io/nats-streaming-server/languages","stargazers_url":"https://api.github.com/repos/nats-io/nats-streaming-server/stargazers","contributors_url":"https://api.github.com/repos/nats-io/nats-streaming-server/contributors","subscribers_url":"https://api.github.com/repos/nats-io/nats-streaming-server/subscribers","subscription_url":"https://api.github.com/repos/nats-io/nats-streaming-server/subscription","commits_url":"https://api.github.com/repos/nats-io/nats-streaming-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nats-io/nats-streaming-server/contents/{+path}","compare_url":"https://api.github.com/repos/nats-io/nats-streaming-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nats-io/nats-streaming-server/merges","archive_url":"https://api.github.com/repos/nats-io/nats-streaming-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nats-io/nats-streaming-server/downloads","issues_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues{/number}","pulls_url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nats-io/nats-streaming-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nats-io/nats-streaming-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nats-io/nats-streaming-server/labels{/name}","releases_url":"https://api.github.com/repos/nats-io/nats-streaming-server/releases{/id}","deployments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/deployments","created_at":"2016-03-24T17:42:39Z","updated_at":"2016-06-22T19:47:42Z","pushed_at":"2016-06-23T07:01:30Z","git_url":"git://github.com/nats-io/nats-streaming-server.git","ssh_url":"git@github.com:nats-io/nats-streaming-server.git","clone_url":"https://github.com/nats-io/nats-streaming-server.git","svn_url":"https://github.com/nats-io/nats-streaming-server","homepage":"https://nats.io","size":409,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":4,"default_branch":"master"}},"base":{"label":"nats-io:master","ref":"master","sha":"7e894dbfa0285018875b2a595ee7e43c6079ece0","user":{"login":"nats-io","id":10203055,"avatar_url":"https://avatars.githubusercontent.com/u/10203055?v=3","gravatar_id":"","url":"https://api.github.com/users/nats-io","html_url":"https://github.com/nats-io","followers_url":"https://api.github.com/users/nats-io/followers","following_url":"https://api.github.com/users/nats-io/following{/other_user}","gists_url":"https://api.github.com/users/nats-io/gists{/gist_id}","starred_url":"https://api.github.com/users/nats-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nats-io/subscriptions","organizations_url":"https://api.github.com/users/nats-io/orgs","repos_url":"https://api.github.com/users/nats-io/repos","events_url":"https://api.github.com/users/nats-io/events{/privacy}","received_events_url":"https://api.github.com/users/nats-io/received_events","type":"Organization","site_admin":false},"repo":{"id":54661965,"name":"nats-streaming-server","full_name":"nats-io/nats-streaming-server","owner":{"login":"nats-io","id":10203055,"avatar_url":"https://avatars.githubusercontent.com/u/10203055?v=3","gravatar_id":"","url":"https://api.github.com/users/nats-io","html_url":"https://github.com/nats-io","followers_url":"https://api.github.com/users/nats-io/followers","following_url":"https://api.github.com/users/nats-io/following{/other_user}","gists_url":"https://api.github.com/users/nats-io/gists{/gist_id}","starred_url":"https://api.github.com/users/nats-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nats-io/subscriptions","organizations_url":"https://api.github.com/users/nats-io/orgs","repos_url":"https://api.github.com/users/nats-io/repos","events_url":"https://api.github.com/users/nats-io/events{/privacy}","received_events_url":"https://api.github.com/users/nats-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nats-io/nats-streaming-server","description":"NATS Streaming System Server","fork":false,"url":"https://api.github.com/repos/nats-io/nats-streaming-server","forks_url":"https://api.github.com/repos/nats-io/nats-streaming-server/forks","keys_url":"https://api.github.com/repos/nats-io/nats-streaming-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nats-io/nats-streaming-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nats-io/nats-streaming-server/teams","hooks_url":"https://api.github.com/repos/nats-io/nats-streaming-server/hooks","issue_events_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/events{/number}","events_url":"https://api.github.com/repos/nats-io/nats-streaming-server/events","assignees_url":"https://api.github.com/repos/nats-io/nats-streaming-server/assignees{/user}","branches_url":"https://api.github.com/repos/nats-io/nats-streaming-server/branches{/branch}","tags_url":"https://api.github.com/repos/nats-io/nats-streaming-server/tags","blobs_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nats-io/nats-streaming-server/statuses/{sha}","languages_url":"https://api.github.com/repos/nats-io/nats-streaming-server/languages","stargazers_url":"https://api.github.com/repos/nats-io/nats-streaming-server/stargazers","contributors_url":"https://api.github.com/repos/nats-io/nats-streaming-server/contributors","subscribers_url":"https://api.github.com/repos/nats-io/nats-streaming-server/subscribers","subscription_url":"https://api.github.com/repos/nats-io/nats-streaming-server/subscription","commits_url":"https://api.github.com/repos/nats-io/nats-streaming-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/nats-io/nats-streaming-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/nats-io/nats-streaming-server/contents/{+path}","compare_url":"https://api.github.com/repos/nats-io/nats-streaming-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nats-io/nats-streaming-server/merges","archive_url":"https://api.github.com/repos/nats-io/nats-streaming-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nats-io/nats-streaming-server/downloads","issues_url":"https://api.github.com/repos/nats-io/nats-streaming-server/issues{/number}","pulls_url":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls{/number}","milestones_url":"https://api.github.com/repos/nats-io/nats-streaming-server/milestones{/number}","notifications_url":"https://api.github.com/repos/nats-io/nats-streaming-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nats-io/nats-streaming-server/labels{/name}","releases_url":"https://api.github.com/repos/nats-io/nats-streaming-server/releases{/id}","deployments_url":"https://api.github.com/repos/nats-io/nats-streaming-server/deployments","created_at":"2016-03-24T17:42:39Z","updated_at":"2016-06-22T19:47:42Z","pushed_at":"2016-06-23T07:01:30Z","git_url":"git://github.com/nats-io/nats-streaming-server.git","ssh_url":"git@github.com:nats-io/nats-streaming-server.git","clone_url":"https://github.com/nats-io/nats-streaming-server.git","svn_url":"https://github.com/nats-io/nats-streaming-server","homepage":"https://nats.io","size":409,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114"},"html":{"href":"https://github.com/nats-io/nats-streaming-server/pull/114"},"issue":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/114"},"comments":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/nats-io/nats-streaming-server/statuses/6cd1c02156ac0e54fab2307f3db98c90863be2ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kozlovic","id":13736691,"avatar_url":"https://avatars.githubusercontent.com/u/13736691?v=3","gravatar_id":"","url":"https://api.github.com/users/kozlovic","html_url":"https://github.com/kozlovic","followers_url":"https://api.github.com/users/kozlovic/followers","following_url":"https://api.github.com/users/kozlovic/following{/other_user}","gists_url":"https://api.github.com/users/kozlovic/gists{/gist_id}","starred_url":"https://api.github.com/users/kozlovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozlovic/subscriptions","organizations_url":"https://api.github.com/users/kozlovic/orgs","repos_url":"https://api.github.com/users/kozlovic/repos","events_url":"https://api.github.com/users/kozlovic/events{/privacy}","received_events_url":"https://api.github.com/users/kozlovic/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"kozlovic"}}