mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 12:12:06 +01:00
Finer logs in XMPPTCPConnection.shutdown()
This commit is contained in:
parent
2d398b8dcf
commit
8deac592fb
1 changed files with 4 additions and 0 deletions
|
@ -476,8 +476,10 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
// First shutdown the writer, this will result in a closing stream element getting send to
|
// First shutdown the writer, this will result in a closing stream element getting send to
|
||||||
// the server
|
// the server
|
||||||
if (packetWriter != null) {
|
if (packetWriter != null) {
|
||||||
|
LOGGER.finer("PacketWriter shutdown()");
|
||||||
packetWriter.shutdown(instant);
|
packetWriter.shutdown(instant);
|
||||||
}
|
}
|
||||||
|
LOGGER.finer("PacketWriter has been shut down");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// After we send the closing stream element, check if there was already a
|
// After we send the closing stream element, check if there was already a
|
||||||
|
@ -490,8 +492,10 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packetReader != null) {
|
if (packetReader != null) {
|
||||||
|
LOGGER.finer("PacketReader shutdown()");
|
||||||
packetReader.shutdown();
|
packetReader.shutdown();
|
||||||
}
|
}
|
||||||
|
LOGGER.finer("PacketReader has been shut down");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
socket.close();
|
socket.close();
|
||||||
|
|
Loading…
Reference in a new issue