We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42c7c8 commit 391ef6dCopy full SHA for 391ef6d
flutter_cache_manager/lib/src/cache_manager.dart
@@ -291,6 +291,6 @@ class CacheManager implements BaseCacheManager {
291
/// Closes the cache database
292
@override
293
Future<void> dispose() async {
294
- await _config.repo.close();
+ await _store.close();
295
}
296
flutter_cache_manager/lib/src/cache_store.dart
@@ -199,6 +199,7 @@ class CacheStore {
199
200
201
202
+ _scheduledCleanup?.cancel();
203
final provider = await _cacheInfoRepository;
204
await provider.close();
205
0 commit comments