Skip to content

Commit

Permalink
Add comment explaining why we are copying the incoming discriminator.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored Apr 17, 2023
1 parent d67b601 commit f92f992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/Darwin/BleConnectionDelegateImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ - (BOOL)isConnecting;
{
assertChipStackLockedByCurrentThread();

// Make a copy of the device discriminator for the block to capture.
SetupDiscriminator deviceDiscriminator = inDeviceDiscriminator;

ChipLogProgress(Ble, "%s", __FUNCTION__);
Expand Down

0 comments on commit f92f992

Please sign in to comment.