{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/414","labels_url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/414/comments","events_url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/414/events","html_url":"https://github.com/facebook/facebook-android-sdk/pull/414","id":70234660,"number":414,"title":"fix the leak with webview","user":{"login":"keerthikorrapati","id":12073889,"avatar_url":"https://avatars.githubusercontent.com/u/12073889?v=3","gravatar_id":"","url":"https://api.github.com/users/keerthikorrapati","html_url":"https://github.com/keerthikorrapati","followers_url":"https://api.github.com/users/keerthikorrapati/followers","following_url":"https://api.github.com/users/keerthikorrapati/following{/other_user}","gists_url":"https://api.github.com/users/keerthikorrapati/gists{/gist_id}","starred_url":"https://api.github.com/users/keerthikorrapati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keerthikorrapati/subscriptions","organizations_url":"https://api.github.com/users/keerthikorrapati/orgs","repos_url":"https://api.github.com/users/keerthikorrapati/repos","events_url":"https://api.github.com/users/keerthikorrapati/events{/privacy}","received_events_url":"https://api.github.com/users/keerthikorrapati/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/facebook-android-sdk/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-22T21:04:56Z","updated_at":"2015-04-22T22:31:06Z","closed_at":"2015-04-22T22:31:06Z","pull_request":{"url":"https://api.github.com/repos/facebook/facebook-android-sdk/pulls/414","html_url":"https://github.com/facebook/facebook-android-sdk/pull/414","diff_url":"https://github.com/facebook/facebook-android-sdk/pull/414.diff","patch_url":"https://github.com/facebook/facebook-android-sdk/pull/414.patch"},"body":"If the user doesn't have the Facebook app installed, he/she will use webview to login/share. The webview is initialized with activity context instead of application context. So, the WeakHashMap cache inside ResourcesContextWrapperFactory will end up retaining a reference to the FacebookActivity forever. More details about the issue here: \r\nhttps://code.google.com/p/chromium/issues/detail?id=473146"},"comment":{"url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/comments/95356719","html_url":"https://github.com/facebook/facebook-android-sdk/pull/414#issuecomment-95356719","issue_url":"https://api.github.com/repos/facebook/facebook-android-sdk/issues/414","id":95356719,"user":{"login":"mingflifb","id":2036695,"avatar_url":"https://avatars.githubusercontent.com/u/2036695?v=3","gravatar_id":"","url":"https://api.github.com/users/mingflifb","html_url":"https://github.com/mingflifb","followers_url":"https://api.github.com/users/mingflifb/followers","following_url":"https://api.github.com/users/mingflifb/following{/other_user}","gists_url":"https://api.github.com/users/mingflifb/gists{/gist_id}","starred_url":"https://api.github.com/users/mingflifb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingflifb/subscriptions","organizations_url":"https://api.github.com/users/mingflifb/orgs","repos_url":"https://api.github.com/users/mingflifb/repos","events_url":"https://api.github.com/users/mingflifb/events{/privacy}","received_events_url":"https://api.github.com/users/mingflifb/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T22:31:06Z","updated_at":"2015-04-22T22:31:06Z","body":"Merged into dev branch as part of 415, closing this one."}}