mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Fixed temp memory leak
This commit is contained in:
@@ -246,9 +246,9 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
||||
|
||||
if (Helper.shouldAuthenticate(this, false))
|
||||
Helper.authenticate(ActivityMain.this, ActivityMain.this, null,
|
||||
new Runnable() {
|
||||
new RunnableEx("auth:succeeded") {
|
||||
@Override
|
||||
public void run() {
|
||||
public void delegate() {
|
||||
Intent intent = getIntent();
|
||||
Bundle args = new Bundle();
|
||||
if (intent.hasExtra("intent"))
|
||||
@@ -256,9 +256,9 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
||||
boot.execute(ActivityMain.this, args, "main:accounts");
|
||||
}
|
||||
},
|
||||
new Runnable() {
|
||||
new RunnableEx("auth:cancelled") {
|
||||
@Override
|
||||
public void run() {
|
||||
public void delegate() {
|
||||
try {
|
||||
finish();
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user