eProsima / Fast-DDS-statistics-backend

eProsima Fast DDS Statistics Backend is a C++ library that provides collection and procession the statistics measurements reported by Fast DDS Statistics Module. Looking for commercial support? Contact info@eprosima.com
https://eprosima.com
Apache License 2.0
17 stars 9 forks source link

[20537] Relocate static map #233

Closed jepemi closed 7 months ago

jepemi commented 7 months ago

The on_data_available() method was called while the process was being closed. This method queried the map which sometimes had been previously destroyed. To ensure the existence of the map during the call, the map was moved inside the function.