{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3896","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3896/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3896/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3896/events","html_url":"https://github.com/facebook/react-native/pull/3896","id":115128607,"number":3896,"title":"Fixes #3846","user":{"login":"kenwheeler","id":286616,"avatar_url":"https://avatars.githubusercontent.com/u/286616?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwheeler","html_url":"https://github.com/kenwheeler","followers_url":"https://api.github.com/users/kenwheeler/followers","following_url":"https://api.github.com/users/kenwheeler/following{/other_user}","gists_url":"https://api.github.com/users/kenwheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwheeler/subscriptions","organizations_url":"https://api.github.com/users/kenwheeler/orgs","repos_url":"https://api.github.com/users/kenwheeler/repos","events_url":"https://api.github.com/users/kenwheeler/events{/privacy}","received_events_url":"https://api.github.com/users/kenwheeler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-04T19:26:33Z","updated_at":"2015-11-04T19:58:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/3896","html_url":"https://github.com/facebook/react-native/pull/3896","diff_url":"https://github.com/facebook/react-native/pull/3896.diff","patch_url":"https://github.com/facebook/react-native/pull/3896.patch"},"body":"This fixes a  leak in regards to web sockets, detailed in #3846 . The connection state constants referenced the class rather than the instance and were coming back undefined.\r\n\r\ncc @brentvatne @stephenelliot"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/153846254","html_url":"https://github.com/facebook/react-native/pull/3896#issuecomment-153846254","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3896","id":153846254,"user":{"login":"kenwheeler","id":286616,"avatar_url":"https://avatars.githubusercontent.com/u/286616?v=3","gravatar_id":"","url":"https://api.github.com/users/kenwheeler","html_url":"https://github.com/kenwheeler","followers_url":"https://api.github.com/users/kenwheeler/followers","following_url":"https://api.github.com/users/kenwheeler/following{/other_user}","gists_url":"https://api.github.com/users/kenwheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/kenwheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenwheeler/subscriptions","organizations_url":"https://api.github.com/users/kenwheeler/orgs","repos_url":"https://api.github.com/users/kenwheeler/repos","events_url":"https://api.github.com/users/kenwheeler/events{/privacy}","received_events_url":"https://api.github.com/users/kenwheeler/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T19:58:48Z","updated_at":"2015-11-04T19:58:48Z","body":"Or should I remove the code adding them to the instance in the constructor, instead add them to the class, below the class definition, and revert the `this` keywords back to the class var?"}}