Browse Source

fix issue #1124

pull/1125/head
Jeff Becker 7 years ago
parent
commit
29e861d1e6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd_client/I2PService.cpp

2
libi2pd_client/I2PService.cpp

@ -87,7 +87,7 @@ namespace client
auto itr = m_ReadyCallbacks.begin(); auto itr = m_ReadyCallbacks.begin();
while(itr != m_ReadyCallbacks.end()) while(itr != m_ReadyCallbacks.end())
{ {
if(itr->second >= now) if(itr->second <= now)
{ {
itr->first(boost::asio::error::timed_out); itr->first(boost::asio::error::timed_out);
itr = m_ReadyCallbacks.erase(itr); itr = m_ReadyCallbacks.erase(itr);

Loading…
Cancel
Save