mirror of git://git.sysmocom.de/ofono
gdbus: Fix processing pending properties in remove_interface()
This commit is contained in:
parent
d1d2f6dbe1
commit
c4ec194ede
|
@ -646,6 +646,8 @@ static gboolean remove_interface(struct generic_data *data, const char *name)
|
||||||
if (iface == NULL)
|
if (iface == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
process_properties_from_interface(data, iface);
|
||||||
|
|
||||||
data->interfaces = g_slist_remove(data->interfaces, iface);
|
data->interfaces = g_slist_remove(data->interfaces, iface);
|
||||||
|
|
||||||
if (iface->destroy) {
|
if (iface->destroy) {
|
||||||
|
|
Loading…
Reference in New Issue