Merge tag 'v0.19.10'

This commit is contained in:
Max Kellermann
2015-06-21 16:01:44 +02:00
11 changed files with 108 additions and 16 deletions

View File

@@ -177,6 +177,8 @@ private:
mutex.unlock();
DeferredMonitor::Schedule();
mutex.lock();
if (state == State::INITIAL)
cond.wait(mutex);
break;
case State::CONNECTING:
@@ -188,8 +190,6 @@ private:
error.Set(last_error);
return false;
}
cond.wait(mutex);
}
}