[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
1 changed files with 0 additions and 1 deletions

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,