| 71 | } |
| 72 | |
| 73 | void Application::ThreadMessages::removeThreadMessages() |
| 74 | { |
| 75 | std::unique_lock<std::mutex> msgLock(msg_mutex); |
| 76 | std::thread::id curId = std::this_thread::get_id(); |
| 77 | auto iter = m_threadMsgMap.find(curId); |
| 78 | if (iter != m_threadMsgMap.end()) { |
| 79 | m_threadMsgMap.erase(iter); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | Application::Application() |
| 84 | { |
no test coverage detected