mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Narrow FileAccess scope to prevent deadlocks.
This commit is contained in:
parent
5974e1432e
commit
4bf99f4af2
29 changed files with 511 additions and 459 deletions
|
|
@ -197,7 +197,7 @@ void HTTPRequest::cancel_request() {
|
|||
thread.wait_to_finish();
|
||||
}
|
||||
|
||||
file = Ref<FileAccess>();
|
||||
file.unref();
|
||||
client->close();
|
||||
body.clear();
|
||||
got_response = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue