[funexpected] clear missed remaps on deinitialization, fixes godotengine/godot#34221

This commit is contained in:
Yakov Borevich 2020-08-30 22:44:39 +03:00
parent db5ea78b7b
commit 604bd75438
1 changed files with 3 additions and 0 deletions

View File

@ -999,6 +999,9 @@ void ResourceLoader::load_translation_remaps() {
void ResourceLoader::clear_translation_remaps() {
translation_remaps.clear();
while (remapped_list.first() != nullptr) {
remapped_list.remove(remapped_list.first());
}
}
void ResourceLoader::load_path_remaps() {