Merge branch 'matthiasc/for-master' into 'master'

broadway: Be careful about destroyed surfaces

See merge request GNOME/gtk!1917
This commit is contained in:
Matthias Clasen 2020-05-16 18:27:19 +00:00
commit bc75965053

View File

@ -99,7 +99,8 @@ gdk_broadway_surface_finalize (GObject *object)
static gboolean
thaw_updates_cb (GdkSurface *surface)
{
gdk_surface_thaw_updates (surface);
if (!GDK_SURFACE_DESTROYED (surface))
gdk_surface_thaw_updates (surface);
g_object_unref (surface);
return G_SOURCE_REMOVE;
}