{"action":"closed","issue":{"url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/5","repository_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf","labels_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/5/comments","events_url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/issues/5/events","html_url":"https://github.com/becvert/cordova-plugin-zeroconf/issues/5","id":140745070,"number":5,"title":"unwatch crash on android","user":{"login":"lilinfr","id":1685349,"avatar_url":"https://avatars.githubusercontent.com/u/1685349?v=3","gravatar_id":"","url":"https://api.github.com/users/lilinfr","html_url":"https://github.com/lilinfr","followers_url":"https://api.github.com/users/lilinfr/followers","following_url":"https://api.github.com/users/lilinfr/following{/other_user}","gists_url":"https://api.github.com/users/lilinfr/gists{/gist_id}","starred_url":"https://api.github.com/users/lilinfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilinfr/subscriptions","organizations_url":"https://api.github.com/users/lilinfr/orgs","repos_url":"https://api.github.com/users/lilinfr/repos","events_url":"https://api.github.com/users/lilinfr/events{/privacy}","received_events_url":"https://api.github.com/users/lilinfr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/becvert/cordova-plugin-zeroconf/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-14T17:42:21Z","updated_at":"2016-03-16T17:35:57Z","closed_at":"2016-03-16T17:35:57Z","body":"Hi !\r\n\r\nYou should check browser in unwatch method:\r\n`\r\n private void unwatch(String type)\r\n{\r\n        if (browser != null)\r\n            browser.removeServiceListener(type, this);\r\n}\r\n`"}}