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:
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.write(packet.toXML().toString());
|
||||||
}
|
}
|
||||||
writer.flush();
|
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
LOGGER.log(Level.WARNING,
|
LOGGER.log(Level.WARNING,
|
||||||
|
|
Loading…
Reference in a new issue