[funexpected] clear missed remaps on deinitialization, fixes godotengine/godot#34221
(cherry picked from commit 604bd75438
)
This commit is contained in:
parent
727bce727b
commit
63b2f69c7f
|
@ -896,6 +896,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