mirror of https://github.com/M66B/FairEmail.git
Garbage collect PGP service
This commit is contained in:
parent
f4dbff2bb6
commit
da649a8cb7
|
@ -1018,6 +1018,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
if (pgpService != null && pgpService.isBound())
|
||||
pgpService.unbindFromService();
|
||||
pgpService = null;
|
||||
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
|
|
@ -1294,6 +1294,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
if (pgpService != null && pgpService.isBound())
|
||||
pgpService.unbindFromService();
|
||||
pgpService = null;
|
||||
|
||||
kv.clear();
|
||||
values.clear();
|
||||
|
|
Loading…
Reference in New Issue