Once is enough

pull/194/merge
M66B 3 years ago
parent 648b218abf
commit f419b32b0a

@ -1371,8 +1371,14 @@ public class FragmentCompose extends FragmentBase {
state = State.NONE;
Runnable load = new Runnable() {
private boolean once = false;
@Override
public void run() {
if (once)
return;
once = true;
try {
if (savedInstanceState == null) {
if (working < 0) {
@ -1445,7 +1451,8 @@ public class FragmentCompose extends FragmentBase {
}
@Override
public void onError(Exception e) {
public void onError(Exception ex) {
Log.i(ex.getMessage());
load.run();
}
});

Loading…
Cancel
Save