Skip to content

Commit

Permalink
Update src/darwin/Framework/CHIP/MTRDevice_XPC.mm
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
jtung-apple and bzbarsky-apple authored Feb 19, 2025
1 parent 4d1cdbf commit afd5977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDevice_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ - (void)_delegateAdded:(id<MTRDeviceDelegate>)delegate
[super _delegateAdded:delegate];
MTR_LOG("%@ delegate added: %@", self, delegate);

// dispatch to own queue to exit lock when calling out to other code
// dispatch to own queue so we're not holding our lock while calling out to the controller code.
dispatch_async(self.queue, ^{
[(MTRDeviceController_XPC *) [self deviceController] _updateRegistrationInfo];
});
Expand Down

0 comments on commit afd5977

Please sign in to comment.