flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

[Windows] FileSystemException: Cannot delete file

Open wangbax opened this issue 3 years ago • 0 comments

🐛 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.<fn>
  File "zone.dart", line 1434, in _rootRunUnary
  File "<asynchronous suspension>"
  File "forwarding_file_system_entity.dart", line 66, in ForwardingFileSystemEntity.delete
  File "<asynchronous suspension>"
  File "web_helper.dart", line 219, in WebHelper._removeOldFile

Expected behavior

Catch exception

Version: v3.3.0

Platform:

  • [ ] 🖥️ Windows

wangbax avatar May 26 '22 12:05 wangbax