Garbage collect PGP service

pull/178/head
M66B 5 years ago
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…
Cancel
Save