Browse Source

Merge pull request #1125 from majestrate/fix-issue-1124

fix issue #1124
pull/1131/merge
orignal 7 years ago committed by GitHub
parent
commit
cf0d5b616d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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