fix
This commit is contained in:
1 parent
a241cd16ef
commit
94abee27f9
1 file changed
+1
-1
@@ -892,7 +892,7 @@ void ui_server::start() {
|
||||
auto desired_port{config_->get_api_port()};
|
||||
|
||||
auto success{false};
|
||||
while (not success && std::chrono::steady_clock::now() >= deadline) {
|
||||
while (not success && std::chrono::steady_clock::now() < deadline) {
|
||||
success = server_.bind_to_port(host, desired_port);
|
||||
if (success) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user