attempts should be incremented to avoid endless loop
(cherry picked from commit e8fe6647104569ae49d98d23ee10762ceeccf0c4)
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user