Add missing SetSyncing() call

refs #10963
This commit is contained in:
Gunnar Beutner 2016-01-20 14:07:07 +01:00
parent 3cfa8718b4
commit 80fdccc43a
1 changed files with 4 additions and 1 deletions

View File

@ -808,8 +808,11 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
{
Endpoint::Ptr endpoint = client->GetEndpoint();
if (endpoint->GetLogDuration() == 0)
if (endpoint->GetLogDuration() == 0) {
ObjectLock olock2(endpoint);
endpoint->SetSyncing(false);
return;
}
CONTEXT("Replaying log for Endpoint '" + endpoint->GetName() + "'");