Skip to content

Commit 14a0c6f

Browse files
committed
Improved code comment, per PR review
1 parent 9186e08 commit 14a0c6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/darwin/Framework/CHIP/MTRDevice_Concrete.mm

+2-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,8 @@ - (void)_triggerResubscribeWithReason:(NSString *)reason nodeLikelyReachable:(BO
10691069
} errorHandler:nil /* not much we can do */];
10701070
}
10711071

1072-
// Reattempt subscription after the above ReleaseSession call to avoid churn
1072+
// The subscription reattempt here eventually asyncs onto the matter queue for session,
1073+
// and should be called after the above ReleaseSession call, to avoid churn.
10731074
if (shouldReattemptSubscription) {
10741075
[self _reattemptSubscriptionNowIfNeededWithReason:reason];
10751076
}

0 commit comments

Comments
 (0)