Skip to content

Commit 7b7884b

Browse files
committed
fix(ntp): remove leftover notify flag
Drop an unused should_notify assignment in apply_config_now and keep a single post-update notification.
1 parent aea856d commit 7b7884b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

include/time_shield/ntp_time_service.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,7 @@ namespace time_shield {
595595
m_state = State::stopped;
596596
}
597597
}
598-
should_notify = true;
599-
if (should_notify) {
600-
m_cv.notify_all();
601-
}
598+
m_cv.notify_all();
602599
return is_ok;
603600
}
604601

0 commit comments

Comments
 (0)