Skip to content

Commit 0842d5e

Browse files
committed
[Darwin] MTRDeviceController dealloc log
1 parent a3af0c2 commit 0842d5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/darwin/Framework/CHIP/MTRDeviceController.mm

+5
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ - (nullable MTRDeviceController *)initWithParameters:(MTRDeviceControllerAbstrac
151151
return nil;
152152
}
153153

154+
- (void)dealloc
155+
{
156+
MTR_LOG("%@ dealloc: %p", NSStringFromClass([self class]), self);
157+
}
158+
154159
- (NSString *)description
155160
{
156161
return [NSString stringWithFormat:@"<%@: %p, uuid: %@, suspended: %@>", NSStringFromClass(self.class), self, self.uniqueIdentifier, MTR_YES_NO(self.suspended)];

0 commit comments

Comments
 (0)