mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-19 16:22:14 +02:00
fix(memory): release retired runtimes and idle download heap
This commit is contained in:
@@ -1893,6 +1893,10 @@ class DownloadQueueNotifier extends Notifier<DownloadQueueState> {
|
||||
_downloadCount = 0;
|
||||
}
|
||||
|
||||
if (!stoppedWhilePaused) {
|
||||
await PlatformBridge.releaseNativeMemory();
|
||||
}
|
||||
|
||||
_log.i(
|
||||
'Queue stats - completed: $_completedInSession, failed: $_failedInSession, totalAtStart: $_totalQueuedAtStart',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user