{"action":"created","comment":{"url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/comments/81370560","pull_request_review_id":2356745,"id":81370560,"diff_hunk":"@@ -51,7 +51,12 @@\n \n         subscriber.add(unsubscribeInUiThread(new Action0() {\n           @Override public void call() {\n-            context.unregisterReceiver(receiver);\n+            //Catch case where the receiver is already unregistered\n+            try {\n+              context.unregisterReceiver(receiver);\n+            } catch (Exception e) {\n+              // ignore exception","path":"library/src/main/java/com/github/pwittchen/reactivenetwork/library/network/observing/strategy/PreLollipopNetworkObservingStrategy.java","position":9,"original_position":9,"commit_id":"f08aa744ccb3a5a0e5fa779b5f767852732787a3","original_commit_id":"f08aa744ccb3a5a0e5fa779b5f767852732787a3","user":{"login":"Kisty","id":3243752,"avatar_url":"https://avatars.githubusercontent.com/u/3243752?v=3","gravatar_id":"","url":"https://api.github.com/users/Kisty","html_url":"https://github.com/Kisty","followers_url":"https://api.github.com/users/Kisty/followers","following_url":"https://api.github.com/users/Kisty/following{/other_user}","gists_url":"https://api.github.com/users/Kisty/gists{/gist_id}","starred_url":"https://api.github.com/users/Kisty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kisty/subscriptions","organizations_url":"https://api.github.com/users/Kisty/orgs","repos_url":"https://api.github.com/users/Kisty/repos","events_url":"https://api.github.com/users/Kisty/events{/privacy}","received_events_url":"https://api.github.com/users/Kisty/received_events","type":"User","site_admin":false},"body":"Have just tested it for a while on the Asus Transformer TF201 (API 16) tablet and seems to have squished the crash.","created_at":"2016-09-30T16:19:14Z","updated_at":"2016-09-30T16:19:14Z","html_url":"https://github.com/pwittchen/ReactiveNetwork/pull/88#discussion_r81370560","pull_request_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/comments/81370560"},"html":{"href":"https://github.com/pwittchen/ReactiveNetwork/pull/88#discussion_r81370560"},"pull_request":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88","id":87458492,"html_url":"https://github.com/pwittchen/ReactiveNetwork/pull/88","diff_url":"https://github.com/pwittchen/ReactiveNetwork/pull/88.diff","patch_url":"https://github.com/pwittchen/ReactiveNetwork/pull/88.patch","issue_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/88","number":88,"state":"open","locked":false,"title":"Fix crash when pre-lollipop receiver is already unregistered","user":{"login":"Kisty","id":3243752,"avatar_url":"https://avatars.githubusercontent.com/u/3243752?v=3","gravatar_id":"","url":"https://api.github.com/users/Kisty","html_url":"https://github.com/Kisty","followers_url":"https://api.github.com/users/Kisty/followers","following_url":"https://api.github.com/users/Kisty/following{/other_user}","gists_url":"https://api.github.com/users/Kisty/gists{/gist_id}","starred_url":"https://api.github.com/users/Kisty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kisty/subscriptions","organizations_url":"https://api.github.com/users/Kisty/orgs","repos_url":"https://api.github.com/users/Kisty/repos","events_url":"https://api.github.com/users/Kisty/events{/privacy}","received_events_url":"https://api.github.com/users/Kisty/received_events","type":"User","site_admin":false},"body":"See http://stackoverflow.com/a/3568906/818821\r\n\r\nFixes #87 ","created_at":"2016-09-30T09:06:52Z","updated_at":"2016-09-30T16:19:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acad96704d355ca447edb56f4b8abc017ad9fe98","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88/commits","review_comments_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88/comments","review_comment_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/88/comments","statuses_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/statuses/f08aa744ccb3a5a0e5fa779b5f767852732787a3","head":{"label":"Kisty:master","ref":"master","sha":"f08aa744ccb3a5a0e5fa779b5f767852732787a3","user":{"login":"Kisty","id":3243752,"avatar_url":"https://avatars.githubusercontent.com/u/3243752?v=3","gravatar_id":"","url":"https://api.github.com/users/Kisty","html_url":"https://github.com/Kisty","followers_url":"https://api.github.com/users/Kisty/followers","following_url":"https://api.github.com/users/Kisty/following{/other_user}","gists_url":"https://api.github.com/users/Kisty/gists{/gist_id}","starred_url":"https://api.github.com/users/Kisty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kisty/subscriptions","organizations_url":"https://api.github.com/users/Kisty/orgs","repos_url":"https://api.github.com/users/Kisty/repos","events_url":"https://api.github.com/users/Kisty/events{/privacy}","received_events_url":"https://api.github.com/users/Kisty/received_events","type":"User","site_admin":false},"repo":{"id":69557866,"name":"ReactiveNetwork","full_name":"Kisty/ReactiveNetwork","owner":{"login":"Kisty","id":3243752,"avatar_url":"https://avatars.githubusercontent.com/u/3243752?v=3","gravatar_id":"","url":"https://api.github.com/users/Kisty","html_url":"https://github.com/Kisty","followers_url":"https://api.github.com/users/Kisty/followers","following_url":"https://api.github.com/users/Kisty/following{/other_user}","gists_url":"https://api.github.com/users/Kisty/gists{/gist_id}","starred_url":"https://api.github.com/users/Kisty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kisty/subscriptions","organizations_url":"https://api.github.com/users/Kisty/orgs","repos_url":"https://api.github.com/users/Kisty/repos","events_url":"https://api.github.com/users/Kisty/events{/privacy}","received_events_url":"https://api.github.com/users/Kisty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kisty/ReactiveNetwork","description":" Android library listening network connection state and Internet connectivity with RxJava Observables","fork":true,"url":"https://api.github.com/repos/Kisty/ReactiveNetwork","forks_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/forks","keys_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/teams","hooks_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/hooks","issue_events_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/issues/events{/number}","events_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/events","assignees_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/assignees{/user}","branches_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/branches{/branch}","tags_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/tags","blobs_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/languages","stargazers_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/stargazers","contributors_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/contributors","subscribers_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/subscribers","subscription_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/subscription","commits_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/contents/{+path}","compare_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/merges","archive_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/downloads","issues_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/issues{/number}","pulls_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/labels{/name}","releases_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/releases{/id}","deployments_url":"https://api.github.com/repos/Kisty/ReactiveNetwork/deployments","created_at":"2016-09-29T10:39:20Z","updated_at":"2016-09-29T10:39:21Z","pushed_at":"2016-09-30T11:01:41Z","git_url":"git://github.com/Kisty/ReactiveNetwork.git","ssh_url":"git@github.com:Kisty/ReactiveNetwork.git","clone_url":"https://github.com/Kisty/ReactiveNetwork.git","svn_url":"https://github.com/Kisty/ReactiveNetwork","homepage":"","size":304,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pwittchen:master","ref":"master","sha":"9fb03ccd2693b822f91f9d215483505162bb5b94","user":{"login":"pwittchen","id":695319,"avatar_url":"https://avatars.githubusercontent.com/u/695319?v=3","gravatar_id":"","url":"https://api.github.com/users/pwittchen","html_url":"https://github.com/pwittchen","followers_url":"https://api.github.com/users/pwittchen/followers","following_url":"https://api.github.com/users/pwittchen/following{/other_user}","gists_url":"https://api.github.com/users/pwittchen/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittchen/subscriptions","organizations_url":"https://api.github.com/users/pwittchen/orgs","repos_url":"https://api.github.com/users/pwittchen/repos","events_url":"https://api.github.com/users/pwittchen/events{/privacy}","received_events_url":"https://api.github.com/users/pwittchen/received_events","type":"User","site_admin":false},"repo":{"id":40492118,"name":"ReactiveNetwork","full_name":"pwittchen/ReactiveNetwork","owner":{"login":"pwittchen","id":695319,"avatar_url":"https://avatars.githubusercontent.com/u/695319?v=3","gravatar_id":"","url":"https://api.github.com/users/pwittchen","html_url":"https://github.com/pwittchen","followers_url":"https://api.github.com/users/pwittchen/followers","following_url":"https://api.github.com/users/pwittchen/following{/other_user}","gists_url":"https://api.github.com/users/pwittchen/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittchen/subscriptions","organizations_url":"https://api.github.com/users/pwittchen/orgs","repos_url":"https://api.github.com/users/pwittchen/repos","events_url":"https://api.github.com/users/pwittchen/events{/privacy}","received_events_url":"https://api.github.com/users/pwittchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwittchen/ReactiveNetwork","description":" Android library listening network connection state and Internet connectivity with RxJava Observables","fork":false,"url":"https://api.github.com/repos/pwittchen/ReactiveNetwork","forks_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/forks","keys_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/teams","hooks_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/hooks","issue_events_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/events{/number}","events_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/events","assignees_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/assignees{/user}","branches_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/branches{/branch}","tags_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/tags","blobs_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/languages","stargazers_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/stargazers","contributors_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/contributors","subscribers_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/subscribers","subscription_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/subscription","commits_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/contents/{+path}","compare_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/merges","archive_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/downloads","issues_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues{/number}","pulls_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/labels{/name}","releases_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/releases{/id}","deployments_url":"https://api.github.com/repos/pwittchen/ReactiveNetwork/deployments","created_at":"2015-08-10T16:06:58Z","updated_at":"2016-09-27T05:37:00Z","pushed_at":"2016-09-30T11:01:41Z","git_url":"git://github.com/pwittchen/ReactiveNetwork.git","ssh_url":"git@github.com:pwittchen/ReactiveNetwork.git","clone_url":"https://github.com/pwittchen/ReactiveNetwork.git","svn_url":"https://github.com/pwittchen/ReactiveNetwork","homepage":"","size":380,"stargazers_count":710,"watchers_count":710,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":84,"mirror_url":null,"open_issues_count":9,"forks":84,"open_issues":9,"watchers":710,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88"},"html":{"href":"https://github.com/pwittchen/ReactiveNetwork/pull/88"},"issue":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/88"},"comments":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/pwittchen/ReactiveNetwork/statuses/f08aa744ccb3a5a0e5fa779b5f767852732787a3"}}}}
{"actor":{"display_login":"Kisty"}}