[funexpected] clear missed remaps on deinitialization, fixes godotengine/godot#34221
This commit is contained in:
parent
db5ea78b7b
commit
604bd75438
|
@ -999,6 +999,9 @@ void ResourceLoader::load_translation_remaps() {
|
||||||
|
|
||||||
void ResourceLoader::clear_translation_remaps() {
|
void ResourceLoader::clear_translation_remaps() {
|
||||||
translation_remaps.clear();
|
translation_remaps.clear();
|
||||||
|
while (remapped_list.first() != nullptr) {
|
||||||
|
remapped_list.remove(remapped_list.first());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResourceLoader::load_path_remaps() {
|
void ResourceLoader::load_path_remaps() {
|
||||||
|
|
Loading…
Reference in New Issue