fix unlock
This commit is contained in:
@@ -970,7 +970,8 @@ void ui_server::start() {
|
|||||||
|
|
||||||
server_.listen_after_bind();
|
server_.listen_after_bind();
|
||||||
return;
|
return;
|
||||||
} else {
|
}
|
||||||
|
|
||||||
utils::error::raise_error(function_name,
|
utils::error::raise_error(function_name,
|
||||||
utils::error::create_error_message({
|
utils::error::create_error_message({
|
||||||
"bind timeout (port in use)",
|
"bind timeout (port in use)",
|
||||||
@@ -981,7 +982,6 @@ void ui_server::start() {
|
|||||||
}));
|
}));
|
||||||
should_launch = false;
|
should_launch = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
notify_and_unlock(nonce_lock);
|
notify_and_unlock(nonce_lock);
|
||||||
if (not should_launch) {
|
if (not should_launch) {
|
||||||
|
Reference in New Issue
Block a user