Ver Fonte

remove double lock

Sven Czarnian há 2 anos atrás
pai
commit
0a586f88c3
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      src/PlugIn.cpp

+ 0 - 1
src/PlugIn.cpp

@@ -809,7 +809,6 @@ void PlugIn::updateSequence(std::shared_ptr<aman::AircraftSequence>& sequence) {
 
         if (false == found) {
             /* delete the forced runway selection */
-            std::lock_guard guard(this->m_updateQueueLock);
             auto selected = this->m_selectedRunway.find(it->first);
             if (this->m_selectedRunway.end() != selected)
                 this->m_selectedRunway.erase(selected);