reset stanza queue when resetting xmppconnection

This commit is contained in:
Daniel Gultsch 2016-01-23 11:40:32 +01:00
parent 43521891f0
commit 6140861143
1 changed files with 1 additions and 0 deletions

View File

@ -879,6 +879,7 @@ public class XmppConnection implements Runnable {
public void resetEverything() { public void resetEverything() {
resetStreamId(); resetStreamId();
clearIqCallbacks(); clearIqCallbacks();
mStanzaQueue.clear();
synchronized (this.disco) { synchronized (this.disco) {
disco.clear(); disco.clear();
} }