[traffic] Restore decoded segments from cache on startup

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-07-21 22:58:47 +03:00
parent 798affe0ef
commit d988ab3326

View File

@@ -435,7 +435,7 @@ bool TrafficManager::RestoreCache()
traffxml::TraffFeed feedOut;
bool hasDecoded = false;
bool hasUndecoded = false;
if (traffxml::ParseTraff(document, std::nullopt /* dataSource */, feedIn))
if (traffxml::ParseTraff(document, m_dataSource, feedIn))
{
while (!feedIn.empty())
{