You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Narrow FileAccess scope to prevent deadlocks.
This commit is contained in:
@@ -197,7 +197,7 @@ void HTTPRequest::cancel_request() {
|
||||
thread.wait_to_finish();
|
||||
}
|
||||
|
||||
file = Ref<FileAccess>();
|
||||
file.unref();
|
||||
client->close();
|
||||
body.clear();
|
||||
got_response = false;
|
||||
|
||||
Reference in New Issue
Block a user