1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +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.write(packet.toXML().toString());
} }
writer.flush();
} }
catch (Exception e) { catch (Exception e) {
LOGGER.log(Level.WARNING, LOGGER.log(Level.WARNING,