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

(cherry picked from commit 604bd75438)
This commit is contained in:
Yakov Borevich 2020-08-30 22:44:39 +03:00 committed by Rémi Verschelde
parent 727bce727b
commit 63b2f69c7f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -896,6 +896,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() {