Clear resource load tasks at exit

This commit is contained in:
Pedro J. Estébanez 2023-02-28 17:50:21 +01:00
parent 1bd0b296e1
commit b8b6a05c17

View file

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