Skip to content

Commit

Permalink
[Matter.framework] When the device is entering suspended state and at… (
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored Oct 9, 2024
1 parent 6621548 commit b8a0e76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2404,8 +2404,10 @@ - (void)_setupSubscriptionWithReason:(NSString *)reason
NSNumber * _Nullable retryDelay) {
if (error != nil) {
MTR_LOG_ERROR("%@ getSessionForNode error %@", self, error);
[self _handleSubscriptionError:error];
[self _handleSubscriptionReset:retryDelay];
[self->_deviceController asyncDispatchToMatterQueue:^{
[self _handleSubscriptionError:error];
[self _handleSubscriptionReset:retryDelay];
} errorHandler:nil];
return;
}

Expand Down

0 comments on commit b8a0e76

Please sign in to comment.