Skip to content

Commit

Permalink
try to fix Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani committed Feb 9, 2021
1 parent fa6e256 commit 052e545
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aseba/thymio-device-manager/aseba_node_registery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ void aseba_node_registery::on_update_discovery_complete(const boost::system::err
mLogError("Discovery : {}", ec.message());
m_discovery_needs_update = true;
} else {
mLogTrace("Discovery : update complete");
m_updating_discovery = false;
mLogTrace("Discovery : update complete");
}

m_updating_discovery = false;
if(m_discovery_needs_update) {
boost::asio::post(boost::asio::get_associated_executor(this),
boost::bind(&aseba_node_registery::update_discovery, this));
Expand Down

0 comments on commit 052e545

Please sign in to comment.