mirror of
https://github.com/godotengine/godot.git
synced 2026-05-12 22:35:35 +00:00
attempts should be incremented to avoid endless loop
This commit is contained in:
@@ -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