mirror of
https://github.com/apache/activemq.git
synced 2025-02-13 05:26:47 +00:00
AMQ-8304: Added a check with !isStopping() also before attempting to read input stream (#672)
(cherry picked from commit 8584b46e762b720d6c6fb27fd2124f0e59cef19c)
This commit is contained in:
parent
dc786edecc
commit
f942276c30
@ -211,7 +211,7 @@ public class TcpTransport extends TransportThreadSupport implements Transport, S
|
||||
LOG.trace("TCP consumer thread for " + this + " starting");
|
||||
this.runnerThread=Thread.currentThread();
|
||||
try {
|
||||
while (!isStopped()) {
|
||||
while (!isStopped() && !isStopping()) {
|
||||
doRun();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user