mirror of https://github.com/M66B/FairEmail.git
Small improvements
This commit is contained in:
parent
c49e24c8b4
commit
fee57e5426
|
@ -180,11 +180,11 @@ public class FragmentMessage extends FragmentEx {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
super.onDestroy();
|
|
||||||
if (openPgpConnection != null) {
|
if (openPgpConnection != null) {
|
||||||
openPgpConnection.unbindFromService();
|
openPgpConnection.unbindFromService();
|
||||||
openPgpConnection = null;
|
openPgpConnection = null;
|
||||||
}
|
}
|
||||||
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -389,6 +389,12 @@ public class FragmentMessage extends FragmentEx {
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDestroyView() {
|
||||||
|
adapter = null;
|
||||||
|
super.onDestroyView();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onSaveInstanceState(Bundle outState) {
|
public void onSaveInstanceState(Bundle outState) {
|
||||||
super.onSaveInstanceState(outState);
|
super.onSaveInstanceState(outState);
|
||||||
|
|
Loading…
Reference in New Issue