[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:
parent
051c5a7ed9
commit
1e14bd655e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue