Skip to content

Commit

Permalink
[Darwin] On resubscribe attempt, if no need to subscribe, clear subsc…
Browse files Browse the repository at this point in the history
… ription work (#37177)
  • Loading branch information
jtung-apple authored Jan 24, 2025
1 parent 8ec0731 commit 2376bdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,7 @@ - (void)_reattemptSubscriptionNowIfNeededWithReason:(NSString *)reason

os_unfair_lock_assert_owner(&self->_lock);
if (!self.reattemptingSubscription) {
[self _clearSubscriptionPoolWork];
return;
}

Expand Down

0 comments on commit 2376bdd

Please sign in to comment.