Updated SammiClient
Removed await get_tree().process_frame from tight loop
This commit is contained in:
parent
d6e60ff204
commit
482ae21121
1 changed files with 0 additions and 2 deletions
|
|
@ -112,7 +112,6 @@ func _read_response() -> void:
|
|||
return
|
||||
|
||||
if buffer.size() < 4:
|
||||
await get_tree().process_frame
|
||||
client.poll()
|
||||
continue
|
||||
|
||||
|
|
@ -122,7 +121,6 @@ func _read_response() -> void:
|
|||
buffer = []
|
||||
headers = data.replace("\r", "").rstrip("\n\n").split("\n")
|
||||
break
|
||||
await get_tree().process_frame
|
||||
client.poll()
|
||||
|
||||
if headers.size() == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue