Currently, when we use
wpctl clear-default to clear the default nodes, the module-default-nodes does not clear the previously configured nodes (it only clears the current configured node). This is a problem because when a user executes the
wpctl clear-default command, he expects wireplumber to select as default node the node with highest priority available, not the previously configured one.
This MR fixes the module-default-nodes to also clear the all previous configured nodes if metadata changes to NULL.