{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/457","repository_url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios","labels_url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/457/comments","events_url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/457/events","html_url":"https://github.com/Microsoft/mobile-center-sdk-ios/pull/457","id":218904746,"number":457,"title":"MSLogManagerDefault race condition fixed","user":{"login":"bmourat","id":833045,"avatar_url":"https://avatars0.githubusercontent.com/u/833045?v=3","gravatar_id":"","url":"https://api.github.com/users/bmourat","html_url":"https://github.com/bmourat","followers_url":"https://api.github.com/users/bmourat/followers","following_url":"https://api.github.com/users/bmourat/following{/other_user}","gists_url":"https://api.github.com/users/bmourat/gists{/gist_id}","starred_url":"https://api.github.com/users/bmourat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmourat/subscriptions","organizations_url":"https://api.github.com/users/bmourat/orgs","repos_url":"https://api.github.com/users/bmourat/repos","events_url":"https://api.github.com/users/bmourat/events{/privacy}","received_events_url":"https://api.github.com/users/bmourat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-03T11:30:31Z","updated_at":"2017-04-03T11:30:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/pulls/457","html_url":"https://github.com/Microsoft/mobile-center-sdk-ios/pull/457","diff_url":"https://github.com/Microsoft/mobile-center-sdk-ios/pull/457.diff","patch_url":"https://github.com/Microsoft/mobile-center-sdk-ios/pull/457.patch"},"body":"There was a race condition while interacting with MSLogManagerDefault delegates collection, due to concurrent access from different threads. The issue can be reproduced with following code in Sasquatch app:\r\n```\r\nfor index in 1...100 {\r\n  mobileCenter.trackEvent(\"Row Clicked \\(index)\")\r\n}\r\nfor index in 1...100 {\r\n  mobileCenter.setAnalyticsEnabled(!mobileCenter.isAnalyticsEnabled())\r\n}"},"comment":{"url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/comments/291117095","html_url":"https://github.com/Microsoft/mobile-center-sdk-ios/pull/457#issuecomment-291117095","issue_url":"https://api.github.com/repos/Microsoft/mobile-center-sdk-ios/issues/457","id":291117095,"user":{"login":"msftclas","id":9287708,"avatar_url":"https://avatars2.githubusercontent.com/u/9287708?v=3","gravatar_id":"","url":"https://api.github.com/users/msftclas","html_url":"https://github.com/msftclas","followers_url":"https://api.github.com/users/msftclas/followers","following_url":"https://api.github.com/users/msftclas/following{/other_user}","gists_url":"https://api.github.com/users/msftclas/gists{/gist_id}","starred_url":"https://api.github.com/users/msftclas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftclas/subscriptions","organizations_url":"https://api.github.com/users/msftclas/orgs","repos_url":"https://api.github.com/users/msftclas/repos","events_url":"https://api.github.com/users/msftclas/events{/privacy}","received_events_url":"https://api.github.com/users/msftclas/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T11:30:36Z","updated_at":"2017-04-03T11:30:36Z","body":"\r\n@bmourat,\nThanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.\n_Thanks,\nMicrosoft Pull Request Bot_"}}
{"actor":{"display_login":"msftclas"}}