Ignore ComponentLifecycleMsg for non-managed tenants
This commit is contained in:
parent
91d6cf6dee
commit
4319024eed
@ -284,7 +284,7 @@ public class TenantActor extends RuleChainManagerActor {
|
||||
onToDeviceActorMsg(new DeviceDeleteMsg(tenantId, deviceId), true);
|
||||
deletedDevices.add(deviceId);
|
||||
}
|
||||
if (isRuleEngine) {
|
||||
if (isRuleEngine && ruleChainsInitialized) {
|
||||
TbActorRef target = getEntityActorRef(msg.getEntityId());
|
||||
if (target != null) {
|
||||
if (msg.getEntityId().getEntityType() == EntityType.RULE_CHAIN) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user