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 08e671d commit af72267Copy full SHA for af72267
flutter_cache_manager/lib/src/cache_manager.dart
@@ -282,6 +282,6 @@ class CacheManager implements BaseCacheManager {
282
/// Closes the cache database
283
@override
284
Future<void> dispose() async {
285
- await _config.repo.close();
+ await _store.close();
286
}
287
flutter_cache_manager/lib/src/cache_store.dart
@@ -194,6 +194,7 @@ class CacheStore {
194
195
196
197
+ _scheduledCleanup?.cancel();
198
final provider = await _cacheInfoRepository;
199
await provider.close();
200
0 commit comments