mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-27 11:51:56 +02:00
perf(memory): drop disposable caches on pressure
This commit is contained in:
+1
-1
@@ -229,7 +229,7 @@ class _EagerInitializationState extends ConsumerState<_EagerInitialization>
|
||||
if (CoverCacheManager.isInitialized) {
|
||||
CoverCacheManager.instance.store.emptyMemoryCache();
|
||||
}
|
||||
unawaited(PlatformBridge.releaseNativeMemory());
|
||||
unawaited(PlatformBridge.releaseNativeMemory(underPressure: true));
|
||||
}
|
||||
|
||||
void _initializeDeferredProviders() {
|
||||
|
||||
Reference in New Issue
Block a user