mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Reset smSessionId on XMPPTCPConnection.disconnect()
This commit is contained in:
parent
a0cf121d7a
commit
1630b44b8d
1 changed files with 4 additions and 0 deletions
|
@ -482,6 +482,10 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
usingTLS = false;
|
usingTLS = false;
|
||||||
reader = null;
|
reader = null;
|
||||||
writer = null;
|
writer = null;
|
||||||
|
|
||||||
|
// Reset the stream management session id to null, since if the stream is cleanly closed, i.e. sending a closing
|
||||||
|
// stream tag, there is no longer a stream to resume.
|
||||||
|
smSessionId = null;
|
||||||
maybeCompressFeaturesReceived.init();
|
maybeCompressFeaturesReceived.init();
|
||||||
compressSyncPoint.init();
|
compressSyncPoint.init();
|
||||||
smResumedSyncPoint.init();
|
smResumedSyncPoint.init();
|
||||||
|
|
Loading…
Reference in a new issue