deregister listener in editaccount
This commit is contained in:
parent
a269164458
commit
bd467b6b9d
|
@ -244,6 +244,14 @@ public class EditAccountActivity extends XmppActivity {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
if (xmppConnectionServiceBound) {
|
||||
xmppConnectionService.removeOnAccountListChangedListener();
|
||||
}
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onBackendConnected() {
|
||||
|
|
Loading…
Reference in New Issue