Disable garbage collection

This commit is contained in:
Marcel Bokhorst
2024-07-17 11:31:38 +02:00
committed by GitHub
parent b3b202339a
commit e434387e5d

View File

@@ -3737,6 +3737,8 @@ public class Helper {
// Miscellaneous
static void gc(String reason) {
if (!BuildConfig.DEBUG)
return;
try {
Log.i("GC " + reason);
Runtime.getRuntime().gc();