Baseflow / Baseflow/flutter_cache_manager
[Windows] FileSystemException: Cannot delete file
- Lingua principale
- Dart
- Stelle
- 809
- Fork
- 510
- Merge medio
- 6m
- PR unite (30g)
- 1
Descrizione
## 🐛 Bug Report
stacktrace like this:
```
FileSystemException: FileSystemException: Cannot delete file, path = 'E:\娱乐\TapBooster\cache\temp\libCachedImageData\e2ac1550-dc22-11ec-a02b-eb8d38960b87.jpg' (OS Error: 另一个程序正在使用此文件,进程无法访问。
, errno = 32)
File "file_impl.dart", line 283, in _File._delete.
File "zone.dart", line 1434, in _rootRunUnary
File ""
File "forwarding_file_system_entity.dart", line 66, in ForwardingFileSystemEntity.delete
File ""
File "web_helper.dart", line 219, in WebHelper._removeOldFile
```
### Expected behavior
Catch exception
**Version:** v3.3.0
**Platform:**
- [ ] 🖥️ Windows
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start in web_helper.dart at line 219, in WebHelper._removeOldFile, and inspect how the file deletion is handled. Reproduce the Windows failure if possible and verify that the FileSystemException is caught when another process is using the file, without allowing the cleanup operation to fail.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100