silent fail on sending message after stopped

This commit is contained in:
woodser 2023-12-19 12:19:35 -05:00
parent 1dab218d7e
commit 5ebf63e0de

View File

@ -499,8 +499,7 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
Uninterruptibles.sleepUninterruptibly(200, TimeUnit.MILLISECONDS);
} catch (Throwable t) {
log.error(t.getMessage());
t.printStackTrace();
handleException(t);
} finally {
stopped = true;
UserThread.execute(() -> doShutDown(closeConnectionReason, shutDownCompleteHandler));