mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[traffic] Fix endless loop in TrafficManager::Invalidate()
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -307,7 +307,10 @@ void TrafficManager::Invalidate(MwmSet::MwmId const & mwmId)
|
|||||||
for (auto it = m_messageCache.begin(); it != m_messageCache.end(); )
|
for (auto it = m_messageCache.begin(); it != m_messageCache.end(); )
|
||||||
{
|
{
|
||||||
if (!it->second.m_location)
|
if (!it->second.m_location)
|
||||||
|
{
|
||||||
|
it++;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
bool isInvalid = false;
|
bool isInvalid = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user