Fixes for segfaults when the connection to the metadata gets lost

Set stream RelAccx pages to null pointers if we cannot reload those pages
This commit is contained in:
Marco van Dijk 2023-08-30 13:14:00 +02:00 committed by Thulinma
parent b61aab8719
commit 5af441d16b
3 changed files with 13 additions and 0 deletions

View file

@ -1298,6 +1298,8 @@ namespace DTSC{
streamPage.init(pageName, 0, false, true);
if (!streamPage.mapped){
INFO_MSG("Page %s not found", pageName);
stream = Util::RelAccX();
trackList = Util::RelAccX();
return true;
}
stream = Util::RelAccX(streamPage.mapped, true);