From 678a894f352fc95d894df4b9a25bca0d51e93d93 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Fri, 31 May 2024 20:04:29 -0700 Subject: [PATCH] Update src/darwin/Framework/CHIP/MTRDevice.mm --- src/darwin/Framework/CHIP/MTRDevice.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index 2b0a202bb96493..eb16b511e2a7b1 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -3099,9 +3099,7 @@ - (void)_pruneClustersIn:(MTRDeviceDataValueDictionary)previousServerListValue if ([path.endpoint isEqualToNumber:endpointID] && [toBeRemovedClusters containsObject:path.cluster]) [clusterPathsToRemove addObject:path]; } -} -} -[self _removeClusters:clusterPathsToRemove doRemoveFromDataStore:YES]; + [self _removeClusters:clusterPathsToRemove doRemoveFromDataStore:YES]; } - (void)_pruneAttributesIn:(MTRDeviceDataValueDictionary)previousAttributeListValue