Commit 472f5525 authored by Guido Gunther's avatar Guido Gunther
Browse files

monitor-manager: Unown DBus name

We should clean up properly on dispose.
Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 65b44187
......@@ -1211,6 +1211,8 @@ phosh_monitor_manager_dispose (GObject *object)
PhoshMonitorManager *self = PHOSH_MONITOR_MANAGER (object);
g_clear_handle_id (&self->dbus_name_id, g_bus_unown_name);
g_clear_object (&self->sensor_proxy_manager);
g_clear_pointer (&self->sensor_proxy_binding, g_binding_unbind);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment