mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Small improvement
This commit is contained in:
@@ -3099,7 +3099,11 @@ public class Helper {
|
||||
// Miscellaneous
|
||||
|
||||
static void gc() {
|
||||
if (BuildConfig.DEBUG) {
|
||||
gc(false);
|
||||
}
|
||||
|
||||
static void gc(boolean force) {
|
||||
if (force || BuildConfig.DEBUG) {
|
||||
Runtime.getRuntime().gc();
|
||||
try {
|
||||
Thread.sleep(50);
|
||||
|
||||
Reference in New Issue
Block a user