Skip to content

m-settings: remove all persistent settings if key is null

Julian Bouzas requested to merge julian/wireplumber:m-settings-fix into master

The wp_settings_delete_all() API internally uses wp_metadata_clear() to clear all the keys in the persistent-sm-settings metadata object. This call emits the metadata changed signal with both 'key' and 'value' set to NULL. When that happens, we need to clear all settings from the state file.

Edited by Julian Bouzas

Merge request reports

Loading