diff --git a/examples/tv-casting-app/tv-casting-common/src/PersistenceManager.cpp b/examples/tv-casting-app/tv-casting-common/src/PersistenceManager.cpp index 9feacd503f6a9a..03aacdfbca39fd 100644 --- a/examples/tv-casting-app/tv-casting-common/src/PersistenceManager.cpp +++ b/examples/tv-casting-app/tv-casting-common/src/PersistenceManager.cpp @@ -536,6 +536,11 @@ void PersistenceManager::OnFabricRemoved(const FabricTable & fabricTable, Fabric } WriteAllVideoPlayers(cachedVideoPlayers); + + err = chip::Server::GetInstance().GetSessionResumptionStorage()->DeleteAll(fabricIndex); + ChipLogProgress(AppServer, + "PersistenceManager::OnFabricRemoved SessionResumptionStorage.DeleteAll(%d) status %" CHIP_ERROR_FORMAT, + fabricIndex, err.Format()); } CHIP_ERROR PersistenceManager::PurgeVideoPlayerCache()