Showing
1 changed file
with
1 additions
and
0 deletions
@@ -110,6 +110,7 @@ public class TbSceneReactNode implements TbNode { | @@ -110,6 +110,7 @@ public class TbSceneReactNode implements TbNode { | ||
110 | @Override | 110 | @Override |
111 | public void onPartitionChangeMsg(TbContext ctx, PartitionChangeMsg msg) { | 111 | public void onPartitionChangeMsg(TbContext ctx, PartitionChangeMsg msg) { |
112 | // Cleanup the cache for all entities that are no longer assigned to current server partitions | 112 | // Cleanup the cache for all entities that are no longer assigned to current server partitions |
113 | + reactStates.clear(); | ||
113 | } | 114 | } |
114 | 115 | ||
115 | protected ReactState getOrCreateReactState(TbContext ctx, TbSceneReactNodeConfig config, String sceneId) { | 116 | protected ReactState getOrCreateReactState(TbContext ctx, TbSceneReactNodeConfig config, String sceneId) { |