{"action":"created","issue":{"url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/80","repository_url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows","labels_url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/80/comments","events_url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/80/events","html_url":"https://github.com/bitstadium/HockeySDK-Windows/issues/80","id":190510264,"number":80,"title":"HockeyClient.Flush null ref","user":{"login":"mtaron","id":7683976,"avatar_url":"https://avatars.githubusercontent.com/u/7683976?v=3","gravatar_id":"","url":"https://api.github.com/users/mtaron","html_url":"https://github.com/mtaron","followers_url":"https://api.github.com/users/mtaron/followers","following_url":"https://api.github.com/users/mtaron/following{/other_user}","gists_url":"https://api.github.com/users/mtaron/gists{/gist_id}","starred_url":"https://api.github.com/users/mtaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtaron/subscriptions","organizations_url":"https://api.github.com/users/mtaron/orgs","repos_url":"https://api.github.com/users/mtaron/repos","events_url":"https://api.github.com/users/mtaron/events{/privacy}","received_events_url":"https://api.github.com/users/mtaron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-19T17:58:04Z","updated_at":"2016-12-09T19:31:42Z","closed_at":null,"body":"In my UWP app, I call `HockeyClient.Current.Flush` when the app enters Background execution, like so:\r\n```csharp\r\nprivate void OnEnteredBackground(object sender, EnteredBackgroundEventArgs e)\r\n{\r\n    using (e.GetDeferral())\r\n    {\r\n        HockeyClient.Current.Flush();\r\n    }\r\n}\r\n```\r\n This works well except when the app is opened and closed quickly. In this case, HockeyApp null refs on [this line](https://github.com/bitstadium/HockeySDK-Windows/blob/d0f7b0d3e5c350ddd042d9dea9c87de0444534a0/Src/Kit.Core45/HockeyClient.cs#L1194), despite `HockeyClient.Current.IsTelemetryInitialized` returning true."},"comment":{"url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/comments/266101233","html_url":"https://github.com/bitstadium/HockeySDK-Windows/issues/80#issuecomment-266101233","issue_url":"https://api.github.com/repos/bitstadium/HockeySDK-Windows/issues/80","id":266101233,"user":{"login":"schuettecarsten","id":1275166,"avatar_url":"https://avatars.githubusercontent.com/u/1275166?v=3","gravatar_id":"","url":"https://api.github.com/users/schuettecarsten","html_url":"https://github.com/schuettecarsten","followers_url":"https://api.github.com/users/schuettecarsten/followers","following_url":"https://api.github.com/users/schuettecarsten/following{/other_user}","gists_url":"https://api.github.com/users/schuettecarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/schuettecarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schuettecarsten/subscriptions","organizations_url":"https://api.github.com/users/schuettecarsten/orgs","repos_url":"https://api.github.com/users/schuettecarsten/repos","events_url":"https://api.github.com/users/schuettecarsten/events{/privacy}","received_events_url":"https://api.github.com/users/schuettecarsten/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T19:31:42Z","updated_at":"2016-12-09T19:31:42Z","body":"Ahh, okay, something was added/changed in 1607. Our app has to be compatible to 10240 for next two years, so we cannot use the new APIs."}}
{"actor":{"display_login":"schuettecarsten"}}