MCPcopy Create free account
hub / github.com/comaps/comaps / Teardown

Method Teardown

libs/map/traffic_manager.cpp:67–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void TrafficManager::Teardown()
68{
69 {
70 std::lock_guard<std::mutex> lock(m_mutex);
71 if (!m_isRunning)
72 return;
73 m_isRunning = false;
74 }
75 m_condition.notify_one();
76 m_thread.join();
77}
78
79TrafficManager::TrafficState TrafficManager::GetState() const
80{

Callers 2

~FrameworkMethod · 0.45
DestroyDrapeEngineMethod · 0.45

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected