We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1e1e6e commit b142dafCopy full SHA for b142daf
src/darwin/Framework/CHIP/MTRDevice.mm
@@ -3096,8 +3096,9 @@ - (void)_pruneClustersIn:(MTRDeviceDataValueDictionary)previousServerListValue
3096
3097
NSMutableSet<MTRClusterPath *> * clusterPathsToRemove = [[NSMutableSet alloc] init];
3098
for (MTRClusterPath * path in _persistedClusters) {
3099
- if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster])
+ if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster]) {
3100
[clusterPathsToRemove addObject:path];
3101
+ }
3102
}
3103
[self _removeClusters:clusterPathsToRemove doRemoveFromDataStore:YES];
3104
0 commit comments