Skip to content

Commit

Permalink
Addressed review comments part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
kkasperczyk-no committed Apr 27, 2022
1 parent b6deb4d commit 262a9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/clusters/bindings/PendingNotificationMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class PendingNotificationContext
VerifyOrDie(mConsumersNumber > 0);
if (--mConsumersNumber == 0)
{
// Release the context only if there is no pending notification pointing to it context.
// Release the context only if there is no pending notification pointing to us.
if (mPendingNotificationContextReleaseHandler != nullptr)
{
mPendingNotificationContextReleaseHandler(mContext);
Expand All @@ -52,7 +52,7 @@ class PendingNotificationContext

private:
void * mContext;
uint8_t mConsumersNumber = 0;
uint32_t mConsumersNumber = 0;
PendingNotificationContextReleaseHandler mPendingNotificationContextReleaseHandler;
};

Expand Down

0 comments on commit 262a9ee

Please sign in to comment.