mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Merge pull request #74120 from RandomShaper/res_loader_teardown
Clear resource load tasks at exit
This commit is contained in:
commit
cef3587427
@ -1090,6 +1090,7 @@ void ResourceLoader::initialize() {
|
||||
}
|
||||
|
||||
void ResourceLoader::finalize() {
|
||||
clear_thread_load_tasks();
|
||||
memdelete(thread_load_mutex);
|
||||
memdelete(thread_load_semaphore);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user