{"action":"created","issue":{"url":"https://api.github.com/repos/bumptech/glide/issues/1329","repository_url":"https://api.github.com/repos/bumptech/glide","labels_url":"https://api.github.com/repos/bumptech/glide/issues/1329/labels{/name}","comments_url":"https://api.github.com/repos/bumptech/glide/issues/1329/comments","events_url":"https://api.github.com/repos/bumptech/glide/issues/1329/events","html_url":"https://github.com/bumptech/glide/issues/1329","id":164924862,"number":1329,"title":"How do we tell Glide to release ImageView references but to not cancel ongoing image loads on activity/fragment destruction ?","user":{"login":"sandy-8925","id":830671,"avatar_url":"https://avatars.githubusercontent.com/u/830671?v=3","gravatar_id":"","url":"https://api.github.com/users/sandy-8925","html_url":"https://github.com/sandy-8925","followers_url":"https://api.github.com/users/sandy-8925/followers","following_url":"https://api.github.com/users/sandy-8925/following{/other_user}","gists_url":"https://api.github.com/users/sandy-8925/gists{/gist_id}","starred_url":"https://api.github.com/users/sandy-8925/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandy-8925/subscriptions","organizations_url":"https://api.github.com/users/sandy-8925/orgs","repos_url":"https://api.github.com/users/sandy-8925/repos","events_url":"https://api.github.com/users/sandy-8925/events{/privacy}","received_events_url":"https://api.github.com/users/sandy-8925/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bumptech/glide/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-11T20:19:13Z","updated_at":"2016-07-12T08:34:37Z","closed_at":"2016-07-12T08:34:37Z","body":"<!--\r\nPlease fill in the below fields with some data to help us best diagnose the issue.\r\nThe more specific you are, the better! You can help a lot by not making us ask these questions.\r\nFeel free to remove any irrelevant parts that you know are not related to the issue.\r\nAny HTML comment like this will be stripped when rendering markdown, no need to delete them.\r\n-->\r\n\r\n<!-- What version of Glide you're running, for example: 3.7.1 | 3.8.0-SNAPSHOT | 4.0.0-SNAPSHOT\r\nIt's essentially the version number from your build.gradle: `dependencies { compile '...:x.y.z' }` -->\r\n**Glide Version**: 3.7.0\r\n\r\n<!-- Do you use any integration library, like OkHttp3 or Volley? For example:\r\nFails to display with stock networking, but works with okhttp3-1.4.0 -->\r\n**Integration libraries**: None\r\n\r\n<!-- What devices you managed to get the issue to come up on? For example:\r\nfails on Galaxy S4/GT-I9500 4.4.2, works fine on Nexus 6P 5.1 and Genymotion Nexus 5 5.0.1 -->\r\n**Device/Android Version**:  Emulator/6.0, Nexus 6/6.0\r\n\r\n<!-- Share the details of your issue in prose, detailing actual and expected behavior. It also helps if you give some info **why** you are trying to do something as opposed to **what** is not working. -->\r\n**Issue details / Repro steps / Use case background**:\r\nWe currently get an instance of Glide request manager using Glide.with(appContext), but found that this will temporarily leak views when image load takes some time (e.g slow network connection).\r\n(reproducible using this: https://github.com/sandy-8925/glide_appcontext_memory_leak if you use device/emulator with slow network speed (EDGE) )\r\n\r\nWe are planning to switch to using Glide.with(activity)/Glide.with(fragment) but we don't want Glide to cancel any ongoing image loads when the activity/fragment is destroyed. We do want Glide to release it's references to the ImageViews into which it's trying to load images."},"comment":{"url":"https://api.github.com/repos/bumptech/glide/issues/comments/231973910","html_url":"https://github.com/bumptech/glide/issues/1329#issuecomment-231973910","issue_url":"https://api.github.com/repos/bumptech/glide/issues/1329","id":231973910,"user":{"login":"TWiStErRob","id":2906988,"avatar_url":"https://avatars.githubusercontent.com/u/2906988?v=3","gravatar_id":"","url":"https://api.github.com/users/TWiStErRob","html_url":"https://github.com/TWiStErRob","followers_url":"https://api.github.com/users/TWiStErRob/followers","following_url":"https://api.github.com/users/TWiStErRob/following{/other_user}","gists_url":"https://api.github.com/users/TWiStErRob/gists{/gist_id}","starred_url":"https://api.github.com/users/TWiStErRob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWiStErRob/subscriptions","organizations_url":"https://api.github.com/users/TWiStErRob/orgs","repos_url":"https://api.github.com/users/TWiStErRob/repos","events_url":"https://api.github.com/users/TWiStErRob/events{/privacy}","received_events_url":"https://api.github.com/users/TWiStErRob/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T08:34:37Z","updated_at":"2016-07-12T08:34:37Z","body":"Please let me know how it works out."}}
{"actor":{"display_login":"TWiStErRob"}}