Make sure that the 'connecting' flag is reset properly

refs #8485
This commit is contained in:
Gunnar Beutner 2015-02-26 11:25:01 +01:00
parent 93d390873d
commit 2b44fcb571
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ void Endpoint::RemoveClient(const ApiClient::Ptr& client)
Log(LogWarning, "ApiListener")
<< "Removing API client for endpoint '" << GetName() << "'. " << m_Clients.size() << " API clients left.";
SetConnecting(false);
}
bool is_master = ApiListener::GetInstance()->IsMaster();