bumptech / bumptech/glide

An error that “has open file ” occurred when I removed the USB while sliding the ListView

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

Description

Glide Version:4.9.0
Android Version : 8.1.0
Hi,i use glide to show list of video thumbnail. An error that “has open file ” occurred when I removed the USB device while sliding the ListView.I know that glide need to get fd, but i call Glide.with(context).clear/Glide.with(context).onDestroy/Glide.with(context).pauseAllRequests/or Glide.with(context).load(uri)/.load(new File(path)) all this dont work when i receive Intent.ACTION_MEDIA_EJECT.
My Q is there has any ideas to solve this problem?thanks.

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.