Skip to content

emptyCache not work after upgrade 3.3.1 -> 3.4.1#471

Description

@molang-io

馃悰 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions