{"action":"created","issue":{"url":"https://api.github.com/repos/xinghongfei/LookLook/issues/33","repository_url":"https://api.github.com/repos/xinghongfei/LookLook","labels_url":"https://api.github.com/repos/xinghongfei/LookLook/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/xinghongfei/LookLook/issues/33/comments","events_url":"https://api.github.com/repos/xinghongfei/LookLook/issues/33/events","html_url":"https://github.com/xinghongfei/LookLook/issues/33","id":184671187,"number":33,"title":"CompositeSubscription的单例没做好线程安全","user":{"login":"jkgeekJack","id":15207717,"avatar_url":"https://avatars.githubusercontent.com/u/15207717?v=3","gravatar_id":"","url":"https://api.github.com/users/jkgeekJack","html_url":"https://github.com/jkgeekJack","followers_url":"https://api.github.com/users/jkgeekJack/followers","following_url":"https://api.github.com/users/jkgeekJack/following{/other_user}","gists_url":"https://api.github.com/users/jkgeekJack/gists{/gist_id}","starred_url":"https://api.github.com/users/jkgeekJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkgeekJack/subscriptions","organizations_url":"https://api.github.com/users/jkgeekJack/orgs","repos_url":"https://api.github.com/users/jkgeekJack/repos","events_url":"https://api.github.com/users/jkgeekJack/events{/privacy}","received_events_url":"https://api.github.com/users/jkgeekJack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-23T04:44:59Z","updated_at":"2016-10-23T07:25:28Z","closed_at":null,"body":"建议改成\r\n`private CompositeSubscription mCompositeSubscription= new CompositeSubscription();`\r\nunsubscribe最好也搞个线程锁，判断时最好判断是否已经unsubscribe了，改成\r\n```\r\n    @Override\r\n    public synchronized void unsubcrible() {\r\n        if (this.mCompositeSubscription != null&&!this.mCompositeSubscription.isUnsubscribed()) {\r\n            this.mCompositeSubscription.unsubscribe();\r\n        }\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/xinghongfei/LookLook/issues/comments/255573794","html_url":"https://github.com/xinghongfei/LookLook/issues/33#issuecomment-255573794","issue_url":"https://api.github.com/repos/xinghongfei/LookLook/issues/33","id":255573794,"user":{"login":"xinghongfei","id":16009006,"avatar_url":"https://avatars.githubusercontent.com/u/16009006?v=3","gravatar_id":"","url":"https://api.github.com/users/xinghongfei","html_url":"https://github.com/xinghongfei","followers_url":"https://api.github.com/users/xinghongfei/followers","following_url":"https://api.github.com/users/xinghongfei/following{/other_user}","gists_url":"https://api.github.com/users/xinghongfei/gists{/gist_id}","starred_url":"https://api.github.com/users/xinghongfei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinghongfei/subscriptions","organizations_url":"https://api.github.com/users/xinghongfei/orgs","repos_url":"https://api.github.com/users/xinghongfei/repos","events_url":"https://api.github.com/users/xinghongfei/events{/privacy}","received_events_url":"https://api.github.com/users/xinghongfei/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T07:25:28Z","updated_at":"2016-10-23T07:25:28Z","body":" you are  right ,thank you !"}}
{"actor":{"display_login":"xinghongfei"}}