From 1f8f205e549a3230008f872c985d06bc6d2da9f3 Mon Sep 17 00:00:00 2001 From: Balazs Racz Date: Wed, 23 Dec 2020 17:03:24 +0100 Subject: [PATCH] Fixes atomic bug in ConfigUpdateFlow. (#490) --- src/openlcb/ConfigUpdateFlow.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openlcb/ConfigUpdateFlow.hxx b/src/openlcb/ConfigUpdateFlow.hxx index b4821e170..f298c1e60 100644 --- a/src/openlcb/ConfigUpdateFlow.hxx +++ b/src/openlcb/ConfigUpdateFlow.hxx @@ -112,8 +112,8 @@ private: return call_immediately(STATE(do_initial_load)); } l = nextRefresh_.operator->(); + ++nextRefresh_; } - ++nextRefresh_; return call_listener(l, false); }