{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10","id":33623617,"html_url":"https://github.com/rdavisau/sockets-for-pcl/pull/10","diff_url":"https://github.com/rdavisau/sockets-for-pcl/pull/10.diff","patch_url":"https://github.com/rdavisau/sockets-for-pcl/pull/10.patch","issue_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/10","number":10,"state":"open","locked":false,"title":"Prevents fatal exception on calling DisconnectAsync","user":{"login":"aghajani","id":3102818,"avatar_url":"https://avatars.githubusercontent.com/u/3102818?v=3","gravatar_id":"","url":"https://api.github.com/users/aghajani","html_url":"https://github.com/aghajani","followers_url":"https://api.github.com/users/aghajani/followers","following_url":"https://api.github.com/users/aghajani/following{/other_user}","gists_url":"https://api.github.com/users/aghajani/gists{/gist_id}","starred_url":"https://api.github.com/users/aghajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghajani/subscriptions","organizations_url":"https://api.github.com/users/aghajani/orgs","repos_url":"https://api.github.com/users/aghajani/repos","events_url":"https://api.github.com/users/aghajani/events{/privacy}","received_events_url":"https://api.github.com/users/aghajani/received_events","type":"User","site_admin":false},"body":"This line (Windows Store):\r\n\r\n_backingDatagramSocket.MessageReceived -= DatagramMessageReceived;\r\n\r\ncauses this exception (not throwing in NuGet package at all):\r\n\r\nA method was called at an unexpected time.\r\n\r\nand will result in very unexpected behaviors in the next operations\r\n(even other TCP, UDP calls).\r\nWrapping it in a try catch will resolve this problem by handling the\r\nexception. The root cause still to be determined.","created_at":"2015-04-19T18:44:55Z","updated_at":"2015-04-19T18:44:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10/commits","review_comments_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10/comments","review_comment_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/10/comments","statuses_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/statuses/fb1c4607c1207ae89d58d41d5d115410cb00842f","head":{"label":"aghajani:master","ref":"master","sha":"fb1c4607c1207ae89d58d41d5d115410cb00842f","user":{"login":"aghajani","id":3102818,"avatar_url":"https://avatars.githubusercontent.com/u/3102818?v=3","gravatar_id":"","url":"https://api.github.com/users/aghajani","html_url":"https://github.com/aghajani","followers_url":"https://api.github.com/users/aghajani/followers","following_url":"https://api.github.com/users/aghajani/following{/other_user}","gists_url":"https://api.github.com/users/aghajani/gists{/gist_id}","starred_url":"https://api.github.com/users/aghajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghajani/subscriptions","organizations_url":"https://api.github.com/users/aghajani/orgs","repos_url":"https://api.github.com/users/aghajani/repos","events_url":"https://api.github.com/users/aghajani/events{/privacy}","received_events_url":"https://api.github.com/users/aghajani/received_events","type":"User","site_admin":false},"repo":{"id":34217886,"name":"sockets-for-pcl","full_name":"aghajani/sockets-for-pcl","owner":{"login":"aghajani","id":3102818,"avatar_url":"https://avatars.githubusercontent.com/u/3102818?v=3","gravatar_id":"","url":"https://api.github.com/users/aghajani","html_url":"https://github.com/aghajani","followers_url":"https://api.github.com/users/aghajani/followers","following_url":"https://api.github.com/users/aghajani/following{/other_user}","gists_url":"https://api.github.com/users/aghajani/gists{/gist_id}","starred_url":"https://api.github.com/users/aghajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghajani/subscriptions","organizations_url":"https://api.github.com/users/aghajani/orgs","repos_url":"https://api.github.com/users/aghajani/repos","events_url":"https://api.github.com/users/aghajani/events{/privacy}","received_events_url":"https://api.github.com/users/aghajani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aghajani/sockets-for-pcl","description":"Cross-platform socket API for Xamarin iOS/Android/Forms, Windows Phone 8/8.1, Windows Store and Windows Desktop.","fork":true,"url":"https://api.github.com/repos/aghajani/sockets-for-pcl","forks_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/forks","keys_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/teams","hooks_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/hooks","issue_events_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/issues/events{/number}","events_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/events","assignees_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/assignees{/user}","branches_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/branches{/branch}","tags_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/tags","blobs_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/languages","stargazers_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/stargazers","contributors_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/contributors","subscribers_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/subscribers","subscription_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/subscription","commits_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/contents/{+path}","compare_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/merges","archive_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/downloads","issues_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/issues{/number}","pulls_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/labels{/name}","releases_url":"https://api.github.com/repos/aghajani/sockets-for-pcl/releases{/id}","created_at":"2015-04-19T18:05:25Z","updated_at":"2015-04-19T18:42:03Z","pushed_at":"2015-04-19T18:42:03Z","git_url":"git://github.com/aghajani/sockets-for-pcl.git","ssh_url":"git@github.com:aghajani/sockets-for-pcl.git","clone_url":"https://github.com/aghajani/sockets-for-pcl.git","svn_url":"https://github.com/aghajani/sockets-for-pcl","homepage":null,"size":871,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rdavisau:master","ref":"master","sha":"4053973cebdd96312301a9e73f8aa17f255a58a3","user":{"login":"rdavisau","id":7392704,"avatar_url":"https://avatars.githubusercontent.com/u/7392704?v=3","gravatar_id":"","url":"https://api.github.com/users/rdavisau","html_url":"https://github.com/rdavisau","followers_url":"https://api.github.com/users/rdavisau/followers","following_url":"https://api.github.com/users/rdavisau/following{/other_user}","gists_url":"https://api.github.com/users/rdavisau/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavisau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavisau/subscriptions","organizations_url":"https://api.github.com/users/rdavisau/orgs","repos_url":"https://api.github.com/users/rdavisau/repos","events_url":"https://api.github.com/users/rdavisau/events{/privacy}","received_events_url":"https://api.github.com/users/rdavisau/received_events","type":"User","site_admin":false},"repo":{"id":28713378,"name":"sockets-for-pcl","full_name":"rdavisau/sockets-for-pcl","owner":{"login":"rdavisau","id":7392704,"avatar_url":"https://avatars.githubusercontent.com/u/7392704?v=3","gravatar_id":"","url":"https://api.github.com/users/rdavisau","html_url":"https://github.com/rdavisau","followers_url":"https://api.github.com/users/rdavisau/followers","following_url":"https://api.github.com/users/rdavisau/following{/other_user}","gists_url":"https://api.github.com/users/rdavisau/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavisau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavisau/subscriptions","organizations_url":"https://api.github.com/users/rdavisau/orgs","repos_url":"https://api.github.com/users/rdavisau/repos","events_url":"https://api.github.com/users/rdavisau/events{/privacy}","received_events_url":"https://api.github.com/users/rdavisau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdavisau/sockets-for-pcl","description":"Cross-platform socket API for Xamarin iOS/Android/Forms, Windows Phone 8/8.1, Windows Store and Windows Desktop.","fork":false,"url":"https://api.github.com/repos/rdavisau/sockets-for-pcl","forks_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/forks","keys_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/teams","hooks_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/hooks","issue_events_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/events{/number}","events_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/events","assignees_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/assignees{/user}","branches_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/branches{/branch}","tags_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/tags","blobs_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/languages","stargazers_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/stargazers","contributors_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/contributors","subscribers_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/subscribers","subscription_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/subscription","commits_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/contents/{+path}","compare_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/merges","archive_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/downloads","issues_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues{/number}","pulls_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/labels{/name}","releases_url":"https://api.github.com/repos/rdavisau/sockets-for-pcl/releases{/id}","created_at":"2015-01-02T13:01:03Z","updated_at":"2015-04-12T07:02:53Z","pushed_at":"2015-04-14T15:02:58Z","git_url":"git://github.com/rdavisau/sockets-for-pcl.git","ssh_url":"git@github.com:rdavisau/sockets-for-pcl.git","clone_url":"https://github.com/rdavisau/sockets-for-pcl.git","svn_url":"https://github.com/rdavisau/sockets-for-pcl","homepage":null,"size":871,"stargazers_count":19,"watchers_count":19,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10"},"html":{"href":"https://github.com/rdavisau/sockets-for-pcl/pull/10"},"issue":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/10"},"comments":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/rdavisau/sockets-for-pcl/statuses/fb1c4607c1207ae89d58d41d5d115410cb00842f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}