Skip to content

Commit

Permalink
Fix to cleanup SessionResumptionStorage onFabricRemoved
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadb-amazon committed May 28, 2024
1 parent 238f8c7 commit 6af3186
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6af3186

Please sign in to comment.