mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Small improvements
This commit is contained in:
parent
c49e24c8b4
commit
fee57e5426
1 changed files with 7 additions and 1 deletions
|
@ -180,11 +180,11 @@ public class FragmentMessage extends FragmentEx {
|
|||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
if (openPgpConnection != null) {
|
||||
openPgpConnection.unbindFromService();
|
||||
openPgpConnection = null;
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -389,6 +389,12 @@ public class FragmentMessage extends FragmentEx {
|
|||
return view;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
adapter = null;
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
|
|
Loading…
Reference in a new issue