{"action":"created","issue":{"url":"https://api.github.com/repos/vickychijwani/quill/issues/75","repository_url":"https://api.github.com/repos/vickychijwani/quill","labels_url":"https://api.github.com/repos/vickychijwani/quill/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/vickychijwani/quill/issues/75/comments","events_url":"https://api.github.com/repos/vickychijwani/quill/issues/75/events","html_url":"https://github.com/vickychijwani/quill/issues/75","id":90230184,"number":75,"title":"Memory leak in WebViewFragment","user":{"login":"vickychijwani","id":439616,"avatar_url":"https://avatars.githubusercontent.com/u/439616?v=3","gravatar_id":"","url":"https://api.github.com/users/vickychijwani","html_url":"https://github.com/vickychijwani","followers_url":"https://api.github.com/users/vickychijwani/followers","following_url":"https://api.github.com/users/vickychijwani/following{/other_user}","gists_url":"https://api.github.com/users/vickychijwani/gists{/gist_id}","starred_url":"https://api.github.com/users/vickychijwani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vickychijwani/subscriptions","organizations_url":"https://api.github.com/users/vickychijwani/orgs","repos_url":"https://api.github.com/users/vickychijwani/repos","events_url":"https://api.github.com/users/vickychijwani/events{/privacy}","received_events_url":"https://api.github.com/users/vickychijwani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vickychijwani/quill/labels/bug","name":"bug","color":"c70000"},{"url":"https://api.github.com/repos/vickychijwani/quill/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/vickychijwani/quill/labels/high-priority","name":"high-priority","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2015-06-22T22:32:49Z","updated_at":"2016-08-23T09:50:52Z","closed_at":"2016-05-22T21:42:16Z","body":"Steps to reproduce:\r\n\r\n1. Open a post preview (the new WebView-based one)\r\n2. Select some text\r\n3. Tap back twice to come back to the post list\r\n4. Open up the post again and watch LeakCanary dump a heap\r\n\r\nNote:\r\n\r\n- [x] Test fix on older Android versions (webkit vs chromium)\r\n- [x] Merge BrowserActivity and WebViewFragment (or fix and test *both*)\r\n\r\n----\r\n\r\nUnfortunately the heap trace (below) is unhelpful:\r\n\r\n```\r\nme.vickychijwani.spectre D/LeakCanary﹕ In me.vickychijwani.spectre:1.0:1.\r\n    * me.vickychijwani.spectre.view.PostViewActivity has leaked:\r\n    * GC ROOT org.chromium.content.browser.input.PopupTouchHandleDrawable.mContext\r\n    * leaks me.vickychijwani.spectre.view.PostViewActivity instance\r\n    * Reference Key: c5347412-4c57-49a2-9df7-9760955cedeb\r\n    * Device: LGE google Nexus 4 occam\r\n    * Android Version: 5.1.1 API: 22\r\n    * Durations: watch=5124ms, gc=162ms, heap dump=11630ms, analysis=43875ms\r\n```\r\n\r\nMaybe analyzing the [actual heap dump](https://www.dropbox.com/s/zodudiuacbctjcr/quill_issue_75.hprof?dl=0) will help."},"comment":{"url":"https://api.github.com/repos/vickychijwani/quill/issues/comments/241682221","html_url":"https://github.com/vickychijwani/quill/issues/75#issuecomment-241682221","issue_url":"https://api.github.com/repos/vickychijwani/quill/issues/75","id":241682221,"user":{"login":"jessyuan24","id":10995907,"avatar_url":"https://avatars.githubusercontent.com/u/10995907?v=3","gravatar_id":"","url":"https://api.github.com/users/jessyuan24","html_url":"https://github.com/jessyuan24","followers_url":"https://api.github.com/users/jessyuan24/followers","following_url":"https://api.github.com/users/jessyuan24/following{/other_user}","gists_url":"https://api.github.com/users/jessyuan24/gists{/gist_id}","starred_url":"https://api.github.com/users/jessyuan24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessyuan24/subscriptions","organizations_url":"https://api.github.com/users/jessyuan24/orgs","repos_url":"https://api.github.com/users/jessyuan24/repos","events_url":"https://api.github.com/users/jessyuan24/events{/privacy}","received_events_url":"https://api.github.com/users/jessyuan24/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T09:50:52Z","updated_at":"2016-08-23T09:50:52Z","body":"No, It works. Hahahaha"}}
{"actor":{"display_login":"jessyuan24"}}