mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 23:56:07 +02:00
Disable garbage collection
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user