deregister listener in editaccount

This commit is contained in:
iNPUTmice 2014-08-21 07:38:44 +02:00
parent a269164458
commit bd467b6b9d
1 changed files with 8 additions and 0 deletions

View File

@ -245,6 +245,14 @@ public class EditAccountActivity extends XmppActivity {
}
}
@Override
protected void onStop() {
if (xmppConnectionServiceBound) {
xmppConnectionService.removeOnAccountListChangedListener();
}
super.onStop();
}
@Override
protected void onBackendConnected() {
this.mKnownHostsAdapter = new KnownHostsAdapter(this,