Skip to content

Commit

Permalink
[Darwin] MTRDeviceController dealloc log (#37588)
Browse files Browse the repository at this point in the history
* [Darwin] MTRDeviceController dealloc log

* Change to log entire description
  • Loading branch information
jtung-apple authored Feb 19, 2025
1 parent 489a8d7 commit 3f29ee1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/darwin/Framework/CHIP/MTRDeviceController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ - (nullable MTRDeviceController *)initWithParameters:(MTRDeviceControllerAbstrac
return nil;
}

- (void)dealloc
{
MTR_LOG("%@ dealloc", self);
}

- (NSString *)description
{
return [NSString stringWithFormat:@"<%@: %p, uuid: %@, suspended: %@>", NSStringFromClass(self.class), self, self.uniqueIdentifier, MTR_YES_NO(self.suspended)];
Expand Down

0 comments on commit 3f29ee1

Please sign in to comment.