dbus-utils: don't return paths if they are in the process of being unexported

This commit is contained in:
Francesco Giudici 2019-03-14 10:47:24 +01:00
parent f15e634236
commit 83ee0bbd6d

View file

@ -154,7 +154,7 @@ nm_dbus_utils_g_value_set_object_path_from_hash (GValue *value,
while (g_hash_table_iter_next (&iter, (gpointer *) &obj, NULL)) {
const char *path;
path = nm_dbus_object_get_path (obj);
path = nm_dbus_object_get_path_still_exported (obj);
if (!path) {
nm_assert (!expect_all_exported);
continue;