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

fix issue #1124
This commit is contained in:
orignal 2018-02-22 16:18:37 -05:00 committed by GitHub
commit cf0d5b616d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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