mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Merge branch 'backport-1009-application-crash-glib-2-60' into 'glib-2-60'
Backport !1009 “gapplication: remove inactivity_timeout source on finalize” to glib-2-60 See merge request GNOME/glib!1012
This commit is contained in:
@@ -1372,6 +1372,9 @@ g_application_finalize (GObject *object)
|
||||
{
|
||||
GApplication *application = G_APPLICATION (object);
|
||||
|
||||
if (application->priv->inactivity_timeout_id)
|
||||
g_source_remove (application->priv->inactivity_timeout_id);
|
||||
|
||||
g_slist_free_full (application->priv->option_groups, (GDestroyNotify) g_option_group_unref);
|
||||
if (application->priv->main_options)
|
||||
g_option_group_unref (application->priv->main_options);
|
||||
|
Reference in New Issue
Block a user