From 6f0767a99ea1d4691b14859a203dbf2c2d75dc75 Mon Sep 17 00:00:00 2001 From: JCW Date: Fri, 26 Sep 2025 13:18:23 +0100 Subject: [PATCH] Remove redundant block Signed-off-by: JCW --- src/xrpld/core/Coro.ipp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/xrpld/core/Coro.ipp b/src/xrpld/core/Coro.ipp index 02eed4c709..353944f529 100644 --- a/src/xrpld/core/Coro.ipp +++ b/src/xrpld/core/Coro.ipp @@ -47,10 +47,8 @@ JobQueue::Coro::Coro( self = shared_from_this(); fn(self); } - { - state_ = CoroState::Finished; - cv_.notify_all(); - } + state_ = CoroState::Finished; + cv_.notify_all(); }, boost::coroutines::attributes(megabytes(1))) {