diff --git a/src/v2i-hub/MapPlugin/src/MapPlugin.cpp b/src/v2i-hub/MapPlugin/src/MapPlugin.cpp index 7ee8d4ae7..884a02217 100644 --- a/src/v2i-hub/MapPlugin/src/MapPlugin.cpp +++ b/src/v2i-hub/MapPlugin/src/MapPlugin.cpp @@ -132,8 +132,7 @@ namespace MapPlugin { std::unique_ptr msg; int activeAction = -1; - // wait for the clock to be initialized - getClock()->wait_for_initialization(); + while (_plugin->state != IvpPluginState_error) { if (_isMapFileNew) {