fix unlock
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user