We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc7752 commit fd2f04fCopy full SHA for fd2f04f
flutter_cache_manager/lib/src/cache_manager.dart
@@ -275,6 +275,6 @@ class CacheManager implements BaseCacheManager {
275
/// Closes the cache database
276
@override
277
Future<void> dispose() async {
278
- await _config.repo.close();
+ await _store.close();
279
}
280
flutter_cache_manager/lib/src/cache_store.dart
@@ -187,6 +187,7 @@ class CacheStore {
187
188
189
190
+ _scheduledCleanup?.cancel();
191
final provider = await _cacheInfoRepository;
192
await provider.close();
193
0 commit comments