From 8900024697644430901f1678dc6788399bb3a815 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 5 Nov 2017 06:55:01 +0100 Subject: [PATCH] testsuite: Unrealize renderers before unreffing This is now necessary, because the GL renderer crashes if we don't enforce it. --- testsuite/gsk/test-render-nodes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/gsk/test-render-nodes.c b/testsuite/gsk/test-render-nodes.c index 19e4a1d0a1..447b19ab44 100644 --- a/testsuite/gsk/test-render-nodes.c +++ b/testsuite/gsk/test-render-nodes.c @@ -572,6 +572,7 @@ load_node_file (GFile *file, gboolean generate) g_object_unref (texture); g_object_unref (window); + gsk_renderer_unrealize (renderer); g_object_unref (renderer); gdk_window_destroy (window);