no need to raise a node disconnected if the transport service is stopped
This commit is contained in:
parent
bb1b46431c
commit
39e41ab819
|
@ -287,6 +287,9 @@ public class TransportService extends AbstractLifecycleComponent<TransportServic
|
|||
|
||||
@Override
|
||||
public void raiseNodeDisconnected(final DiscoveryNode node) {
|
||||
if (lifecycle.stoppedOrClosed()) {
|
||||
return;
|
||||
}
|
||||
threadPool.cached().execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in New Issue