summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/nm-device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index cf73ee016a..5cb1020b74 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -3441,8 +3441,10 @@ nm_device_unrealize (NMDevice *self, gboolean remove_resources, GError **error)
if (remove_resources) {
if (NM_DEVICE_GET_CLASS (self)->unrealize) {
- if (!NM_DEVICE_GET_CLASS (self)->unrealize (self, error))
+ if (!NM_DEVICE_GET_CLASS (self)->unrealize (self, error)) {
+ g_object_thaw_notify (G_OBJECT (self));
return FALSE;
+ }
} else if (ifindex > 0) {
nm_platform_link_delete (nm_device_get_platform (self), ifindex);
}