From 643b5fbe7ea54df91cc530f1e8b2cd5dd3a21537 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Mon, 15 Sep 2025 14:30:30 -0500 Subject: [PATCH] fix unlock --- repertory/repertory/src/ui/ui_server.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/repertory/repertory/src/ui/ui_server.cpp b/repertory/repertory/src/ui/ui_server.cpp index fc75e95d..0b60483c 100644 --- a/repertory/repertory/src/ui/ui_server.cpp +++ b/repertory/repertory/src/ui/ui_server.cpp @@ -970,17 +970,17 @@ void ui_server::start() { server_.listen_after_bind(); return; - } else { - utils::error::raise_error(function_name, - utils::error::create_error_message({ - "bind timeout (port in use)", - "host", - host, - "port", - std::to_string(desired_port), - })); - should_launch = false; } + + utils::error::raise_error(function_name, + utils::error::create_error_message({ + "bind timeout (port in use)", + "host", + host, + "port", + std::to_string(desired_port), + })); + should_launch = false; } notify_and_unlock(nonce_lock);