mirror of https://github.com/apache/activemq.git
AMQ-8304: Added a check with !isStopping() also before attempting to read input stream (#672)
This commit is contained in:
parent
3f5abd4433
commit
8584b46e76
|
@ -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…
Reference in New Issue