From 137656266c6412fde80a837bb76e95a6980fa1c0 Mon Sep 17 00:00:00 2001 From: yunhanw-google Date: Thu, 7 Dec 2023 10:05:29 -0800 Subject: [PATCH] Update src/app/InteractionModelEngine.cpp Co-authored-by: Boris Zbarsky --- src/app/InteractionModelEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/InteractionModelEngine.cpp b/src/app/InteractionModelEngine.cpp index 2529f516cc2f23..459bf46339f92a 100644 --- a/src/app/InteractionModelEngine.cpp +++ b/src/app/InteractionModelEngine.cpp @@ -973,7 +973,7 @@ void InteractionModelEngine::OnActiveModeNotification(ScopedNodeId aPeer) for (ReadClient * pListItem = mpActiveReadClientList; pListItem != nullptr;) { auto pNextItem = pListItem->GetNextClient(); - // It is possible that pListItem is destructed by the app in OnActiveModeNotification. + // It is possible that pListItem is destroyed by the app in OnActiveModeNotification. // Get the next item before invoking `OnActiveModeNotification`. if (ScopedNodeId(pListItem->GetPeerNodeId(), pListItem->GetFabricIndex()) == aPeer) {