mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-29 07:18:49 +02:00
perf(memory): drop disposable caches on pressure
This commit is contained in:
@@ -3147,6 +3147,12 @@ class MainActivity: FlutterFragmentActivity() {
|
||||
}
|
||||
result.success(null)
|
||||
}
|
||||
"releaseMemoryUnderPressure" -> {
|
||||
withContext(Dispatchers.IO) {
|
||||
Gobackend.releaseMemoryUnderPressure()
|
||||
}
|
||||
result.success(null)
|
||||
}
|
||||
"setMetadataLanguage" -> {
|
||||
val tag = call.argument<String>("tag") ?: ""
|
||||
withContext(Dispatchers.IO) {
|
||||
|
||||
Reference in New Issue
Block a user