[iOS] Fix plugin configuration loading

Clear ConfigFile parameter before loading new file.
Ignore duplicate input plist keys

(cherry picked from commit aa321f0a24)
This commit is contained in:
Sergey Minakov
2021-07-13 21:30:19 +03:00
committed by Rémi Verschelde
parent 051c5a7ed9
commit 1e14bd655e

View File

@@ -255,6 +255,8 @@ static inline PluginConfigIOS load_plugin_config(Ref<ConfigFile> config_file, co
return plugin_config;
}
config_file->clear();
Error err = config_file->load(path);
if (err != OK) {