mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +00:00
[traffic] Abort event loop run immediately if TrafficManager is disabled
Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
@@ -472,6 +472,9 @@ void TrafficManager::ThreadRoutine()
|
||||
|
||||
while (WaitForRequest())
|
||||
{
|
||||
if (!IsEnabled())
|
||||
continue;
|
||||
|
||||
// TODO clean out expired messages
|
||||
|
||||
LOG(LINFO, ("start loop, active MWMs changed:", m_activeMwmsChanged, ", poll needed:", m_isPollNeeded));
|
||||
|
||||
Reference in New Issue
Block a user