attempts should be incremented to avoid endless loop

(cherry picked from commit e8fe6647104569ae49d98d23ee10762ceeccf0c4)
This commit is contained in:
pavlos vasilantonakis
2026-02-21 00:09:36 +01:00
committed by Thaddeus Crews
parent 4db15671c0
commit 4867b680aa
@@ -210,6 +210,7 @@ HTTPClient::Status EditorImportBlendRunner::connect_blender_rpc(const Ref<HTTPCl
bool done = false;
while (!done) {
OS::get_singleton()->delay_usec(wait_usecs);
attempts++;
status = p_client->get_status();
switch (status) {
case HTTPClient::STATUS_RESOLVING: