Merge pull request #74120 from RandomShaper/res_loader_teardown

Clear resource load tasks at exit
This commit is contained in:
Rémi Verschelde 2023-04-03 15:59:51 +02:00
commit cef3587427
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1090,6 +1090,7 @@ void ResourceLoader::initialize() {
}
void ResourceLoader::finalize() {
clear_thread_load_tasks();
memdelete(thread_load_mutex);
memdelete(thread_load_semaphore);
}