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:
parent
81f10b0c5b
commit
22baa74298
1 changed files with 0 additions and 1 deletions
|
@ -1332,7 +1332,6 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
writer.write(packet.toXML().toString());
|
||||
}
|
||||
writer.flush();
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOGGER.log(Level.WARNING,
|
||||
|
|
Loading…
Reference in a new issue