From 80fdccc43af4cc47beb1c79bcd62546541feb860 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 20 Jan 2016 14:07:07 +0100 Subject: [PATCH] Add missing SetSyncing() call refs #10963 --- lib/remote/apilistener.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 80263a46a..3c53c04ea 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -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() + "'"); -- 2.40.0