lib: release inhibitor with dispose

This commit is contained in:
Christian Hergert 2023-02-17 15:38:06 -08:00
parent 3794f43ee1
commit 1a4bcb8c31

View File

@ -142,6 +142,7 @@ mks_display_disconnect (MksDisplay *self)
g_assert (MKS_IS_DISPLAY (self));
g_clear_object (&priv->screen);
g_clear_object (&priv->inhibitor);
if (priv->picture != NULL)
{