policy: fix disposal of devices list
When disposing NMPolicy all the devices in the devices hash-table should be unregistered and removed from the hash-table.
Fixes: 7e3d090a ('policy: refactor tracking of registered devices')
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
When disposing NMPolicy all the devices in the devices hash-table should be unregistered and removed from the hash-table.
Fixes: 7e3d090a ('policy: refactor tracking of registered devices')