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