aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-21 07:38:44 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-21 07:38:44 +0200
commitbd467b6b9da3d79c5eae1093481351f849dd01a2 (patch)
tree8303d1da57791a07c7e55fe1aa4a254ec50a82b7 /src
parenta269164458d66a0b564b28435e718c8b7e65f356 (diff)
deregister listener in editaccount
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/ui/EditAccountActivity.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/EditAccountActivity.java b/src/eu/siacs/conversations/ui/EditAccountActivity.java
index 774219d8..d278e927 100644
--- a/src/eu/siacs/conversations/ui/EditAccountActivity.java
+++ b/src/eu/siacs/conversations/ui/EditAccountActivity.java
@@ -244,6 +244,14 @@ public class EditAccountActivity extends XmppActivity {
}
}
}
+
+ @Override
+ protected void onStop() {
+ if (xmppConnectionServiceBound) {
+ xmppConnectionService.removeOnAccountListChangedListener();
+ }
+ super.onStop();
+ }
@Override
protected void onBackendConnected() {