1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Add comment about dropping SM state on stream errors.

Related to SMACK-696.
This commit is contained in:
Florian Schmaus 2016-06-11 16:31:39 +02:00
parent 08c93da56a
commit 30861fb7ce

View file

@ -879,6 +879,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
(packetWriter == null || packetWriter.done())) return;
// Closes the connection temporary. A reconnection is possible
// Note that a connection listener of XMPPTCPConnection will drop the SM state in
// case the Exception is a StreamErrorException.
instantShutdown();
// Notify connection listeners of the error.