bumptech / bumptech/glide

Call "Glide.with(this).pauseRequests()" after onDestroy cause memory leak

Open
#4,538 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

Desc:
In fragment. call "Glide.with(this).pauseRequests()" after onDestroy cause memory leak

GlideVersion: 4.12.0
Device:fails on Genymotion Nexus 5 8.0 -->

Demo:
https://github.com/xiaopao2014/GlideTest

```java
override fun onDestroy() {
super.onDestroy()
//call pause request after destroy would cause memory leak
Glide.with(this).pauseRequests()
}

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.