Skip to content

Commit fe604da

Browse files
Break things to cause a leak.
1 parent d7276a0 commit fe604da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ @implementation MTRDeviceControllerDataStore {
107107
id<MTRDeviceControllerStorageDelegate> _storageDelegate;
108108
dispatch_queue_t _storageDelegateQueue;
109109
// Controller owns us, so we have to make sure to not keep it alive.
110-
__weak MTRDeviceController * _controller;
110+
MTRDeviceController * _controller;
111111
// Array of nodes with resumption info, oldest-stored first.
112112
NSMutableArray<NSNumber *> * _nodesWithResumptionInfo;
113113
}

0 commit comments

Comments
 (0)