Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emptyCache not work after upgrade 3.3.1 -> 3.4.1 #471

Closed
2 tasks done
nuxwork opened this issue Oct 9, 2024 · 1 comment
Closed
2 tasks done

emptyCache not work after upgrade 3.3.1 -> 3.4.1 #471

nuxwork opened this issue Oct 9, 2024 · 1 comment

Comments

@nuxwork
Copy link

nuxwork commented Oct 9, 2024

🐛 Bug Report

Expected behavior

can clear all cached files after call emptyCache

Reproduction steps

cacheManager.emptyCache();

Configuration

Version: 3.3.1

Future<void> _removeCachedFile(CacheObject cacheObject, List<int> toRemove) async {
...
final file = await fileSystem.createFile(cacheObject.relativePath);
...
}

Version: 3.4.1

Future<void> _removeCachedFile(CacheObject cacheObject, List<int> toRemove) async {
...
final file = io.File(cacheObject.relativePath);  // bug: file always not exists
...
}

Platform:

  • 📱 iOS
  • 🤖 Android
@martijn00
Copy link
Member

#469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants