diff --git a/src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp b/src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp index 6733abff3..aa3f6ddff 100644 --- a/src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp +++ b/src/v2i-hub/PedestrianPlugin/src/PedestrianPlugin.cpp @@ -25,6 +25,13 @@ PedestrianPlugin::PedestrianPlugin(const std::string &name) : PluginClient(name) { if (_signSimClient != nullptr) _signSimClient.reset(); + + UpdateConfigSettings(); + std::lock_guard lock(_cfgLock); + + std::thread webServiceThread(&PedestrianPlugin::StartWebService, this); + webServiceThread.detach(); // wait for the thread to finish + runningWebService = true; } int PedestrianPlugin::StartWebSocket()