{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/8677","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/8677/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/8677/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/8677/events","html_url":"https://github.com/facebook/react-native/issues/8677","id":164720847,"number":8677,"title":"[Serious Bug] Android Image not render after a few times of uses","user":{"login":"narychen","id":1779816,"avatar_url":"https://avatars.githubusercontent.com/u/1779816?v=3","gravatar_id":"","url":"https://api.github.com/users/narychen","html_url":"https://github.com/narychen","followers_url":"https://api.github.com/users/narychen/followers","following_url":"https://api.github.com/users/narychen/following{/other_user}","gists_url":"https://api.github.com/users/narychen/gists{/gist_id}","starred_url":"https://api.github.com/users/narychen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narychen/subscriptions","organizations_url":"https://api.github.com/users/narychen/orgs","repos_url":"https://api.github.com/users/narychen/repos","events_url":"https://api.github.com/users/narychen/events{/privacy}","received_events_url":"https://api.github.com/users/narychen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Android","name":"Android","color":"bfe5bf"},{"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-07-10T15:37:48Z","updated_at":"2016-07-11T14:15:07Z","closed_at":null,"body":"It's a serious problem since the early version and never being solved. \r\nReloading of JS will quickly lead to this bug but it will always happen whether or not you do the reloading.\r\nWhen you use back button to quit the app on android  and re-launch it, the image will still not show. I think it is because Fresco will not be closed after you quit. It is running as long as your phone is on until you remove your app from the task manager of android.\r\nThis means your app will not show image after a period of time even if it doesn't have a lot of image to show.\r\nPlease give a high priority to this problem because it will never be production ready for react-native of android if the image will go away after a few times of uses. "},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/231747024","html_url":"https://github.com/facebook/react-native/issues/8677#issuecomment-231747024","issue_url":"https://api.github.com/repos/facebook/react-native/issues/8677","id":231747024,"user":{"login":"narychen","id":1779816,"avatar_url":"https://avatars.githubusercontent.com/u/1779816?v=3","gravatar_id":"","url":"https://api.github.com/users/narychen","html_url":"https://github.com/narychen","followers_url":"https://api.github.com/users/narychen/followers","following_url":"https://api.github.com/users/narychen/following{/other_user}","gists_url":"https://api.github.com/users/narychen/gists{/gist_id}","starred_url":"https://api.github.com/users/narychen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narychen/subscriptions","organizations_url":"https://api.github.com/users/narychen/orgs","repos_url":"https://api.github.com/users/narychen/repos","events_url":"https://api.github.com/users/narychen/events{/privacy}","received_events_url":"https://api.github.com/users/narychen/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T14:15:07Z","updated_at":"2016-07-11T14:15:07Z","body":"@fab1an I tried Fresco.shutDown() and imagePipeline.clearCaches(). It didn't work.\r\nI checked the code of Fresco and didn't see any code decrease the mCount and mSize in com.facebook.imagepipeline.memory.BitmapCounter. The two property is the cause of the exception.\r\n\r\nAnd further more the code of shutDown will call clearCaches but will not create a new imagepipeline if the old instance is not null. So call shutDown() will be the same with clearCaches()"}}
{"actor":{"display_login":"narychen"}}