1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-18 02:02:04 +01:00

[tcp] Remove flush() in writer thread

We will flush the stream after the closing stream tag has been written
anyway. No need to do it here.
This commit is contained in:
Florian Schmaus 2020-05-31 13:37:58 +02:00
parent 81f10b0c5b
commit 22baa74298

View file

@ -1332,7 +1332,6 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
writer.write(packet.toXML().toString());
}
writer.flush();
}
catch (Exception e) {
LOGGER.log(Level.WARNING,