do not delete the airports

此提交包含在:
Sven Czarnian
2021-12-15 13:25:04 +01:00
父節點 de25092e3b
當前提交 88c40575ff

查看文件

@@ -683,7 +683,8 @@ void PlugIn::OnTimer(int counter) {
if (EuroScopePlugIn::CONNECTION_TYPE_NO == this->GetConnectionType()) {
if (true == this->m_connectedToNetwork) {
std::lock_guard guardUpdate(this->m_updateQueueLock);
this->m_updateQueue.clear();
for (auto& airport : this->m_updateQueue)
airport.second.clear();
std::lock_guard guardInbound(this->m_inboundsQueueLock);
this->m_inbounds.clear();