Commit 21f4af31 authored by Michael Ott's avatar Michael Ott
Browse files

Drop publicSensors list after metadataStore has been built

parent c0d3523c
...@@ -741,6 +741,7 @@ int main(int argc, char* const argv[]) { ...@@ -741,6 +741,7 @@ int main(int argc, char* const argv[]) {
if(sBuf.isValid()) if(sBuf.isValid())
metadataStore->store(*sBuf.getPattern(), sBuf); metadataStore->store(*sBuf.getPattern(), sBuf);
} }
publicSensors.clear();
analyticsController = new AnalyticsController(mySensorConfig, mySensorDataStore); analyticsController = new AnalyticsController(mySensorConfig, mySensorDataStore);
analyticsController->setCache(&mySensorCache); analyticsController->setCache(&mySensorCache);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment