#1576 - ClusterManager creates ClusterBroadcast even when config is not active

This commit is contained in:
rob bygrave
2018-12-15 23:17:00 +13:00
parent 8410de8831
commit 6d5374e66a
@@ -29,7 +29,7 @@ public class ClusterManager implements ServerLookup {
public ClusterManager(ContainerConfig config) {
ClusterBroadcastFactory factory = createFactory();
if (factory != null) {
if (factory != null && config.isActive()) {
broadcast = factory.create(this, config);
} else {
broadcast = null;