[Matter.framework] When the device is entering suspended state and at… (#35973)
diff --git a/src/darwin/Framework/CHIP/MTRDevice_Concrete.mm b/src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
index 947e7a3..869f8b6 100644
--- a/src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
+++ b/src/darwin/Framework/CHIP/MTRDevice_Concrete.mm
@@ -2404,8 +2404,10 @@
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;
}