{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/comments/183868281","pull_request_review_id":114951054,"id":183868281,"diff_hunk":"@@ -15,6 +15,7 @@ internal class ApplicationInsightsInitializer : IObserver<DiagnosticListener>, I\n     {\n         private readonly List<IDisposable> subscriptions;\n         private readonly IEnumerable<IApplicationInsightDiagnosticListener> diagnosticListeners;\n+        private bool shuttingDown = false;","path":"src/Microsoft.ApplicationInsights.AspNetCore/Implementation/ApplicationInsightsInitializer.cs","position":4,"original_position":4,"commit_id":"2ef48d3297f2c299ae36d8a833ea1eaf46de18a1","original_commit_id":"2ef48d3297f2c299ae36d8a833ea1eaf46de18a1","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars1.githubusercontent.com/u/573215?v=4","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-04-24T20:25:26Z","updated_at":"2018-04-24T20:25:26Z","html_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652#discussion_r183868281","pull_request_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/comments/183868281"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652#discussion_r183868281"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652"}},"in_reply_to_id":183116828},"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652","id":182918748,"html_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652","diff_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652.diff","patch_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652.patch","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/652","number":652,"state":"open","locked":false,"title":"remove subscriptions race","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars1.githubusercontent.com/u/573215?v=4","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"body":"Fix Issue # .\r\n<Short description of the fix.>\r\n\r\n- [x] I ran Unit Tests locally.\r\n\r\nFor significant contributions please make sure you have completed the following items:\r\n\r\n- [ ] Changes in public surface reviewed\r\n- [ ] Design discussion issue #\r\n- [ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue.\r\n- [ ] The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.\r\n\t  If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)\r\n\r\n- Please follow [these] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/Readme.md) instructions to build and test locally.\r\n","created_at":"2018-04-19T22:49:06Z","updated_at":"2018-04-24T20:25:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2507da739212778577859006e88cf7737f27c0b8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/652/comments","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/statuses/2ef48d3297f2c299ae36d8a833ea1eaf46de18a1","head":{"label":"TyOverby:no-subscriptions-race","ref":"no-subscriptions-race","sha":"2ef48d3297f2c299ae36d8a833ea1eaf46de18a1","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars1.githubusercontent.com/u/573215?v=4","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"repo":{"id":130278498,"name":"ApplicationInsights-aspnetcore","full_name":"TyOverby/ApplicationInsights-aspnetcore","owner":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars1.githubusercontent.com/u/573215?v=4","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TyOverby/ApplicationInsights-aspnetcore","description":"ASP.NET Core web applications monitoring","fork":true,"url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore","forks_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/forks","keys_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/teams","hooks_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/hooks","issue_events_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/issues/events{/number}","events_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/events","assignees_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/assignees{/user}","branches_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/branches{/branch}","tags_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/tags","blobs_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/git/refs{/sha}","trees_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/statuses/{sha}","languages_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/languages","stargazers_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/stargazers","contributors_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/contributors","subscribers_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/subscribers","subscription_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/subscription","commits_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/commits{/sha}","git_commits_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/git/commits{/sha}","comments_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/comments{/number}","issue_comment_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/issues/comments{/number}","contents_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/contents/{+path}","compare_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/merges","archive_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/downloads","issues_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/issues{/number}","pulls_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/pulls{/number}","milestones_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/milestones{/number}","notifications_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/labels{/name}","releases_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/releases{/id}","deployments_url":"https://api.github.com/repos/TyOverby/ApplicationInsights-aspnetcore/deployments","created_at":"2018-04-19T22:19:23Z","updated_at":"2018-04-19T22:19:26Z","pushed_at":"2018-04-19T22:48:07Z","git_url":"git://github.com/TyOverby/ApplicationInsights-aspnetcore.git","ssh_url":"git@github.com:TyOverby/ApplicationInsights-aspnetcore.git","clone_url":"https://github.com/TyOverby/ApplicationInsights-aspnetcore.git","svn_url":"https://github.com/TyOverby/ApplicationInsights-aspnetcore","homepage":"","size":6290,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Microsoft:develop","ref":"develop","sha":"f41fe0bab2429dba8b340132a0fa5017966ce5bb","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":32415843,"name":"ApplicationInsights-aspnetcore","full_name":"Microsoft/ApplicationInsights-aspnetcore","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore","description":"ASP.NET Core web applications monitoring","fork":false,"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore","forks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/forks","keys_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/teams","hooks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/events","assignees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/tags","blobs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/subscription","commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/merges","archive_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/downloads","issues_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/deployments","created_at":"2015-03-17T19:39:40Z","updated_at":"2018-04-21T10:00:52Z","pushed_at":"2018-04-19T22:49:07Z","git_url":"git://github.com/Microsoft/ApplicationInsights-aspnetcore.git","ssh_url":"git@github.com:Microsoft/ApplicationInsights-aspnetcore.git","clone_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore.git","svn_url":"https://github.com/Microsoft/ApplicationInsights-aspnetcore","homepage":"","size":6288,"stargazers_count":162,"watchers_count":162,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"archived":false,"open_issues_count":83,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":91,"open_issues":83,"watchers":162,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/652"},"issue":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/652"},"comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/issues/652/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/pulls/652/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-aspnetcore/statuses/2ef48d3297f2c299ae36d8a833ea1eaf46de18a1"}},"author_association":"NONE"}}
{"actor":{"display_login":"TyOverby"}}