testsuite: Unrealize renderers before unreffing

This is now necessary, because the GL renderer crashes if we don't
enforce it.
This commit is contained in:
Benjamin Otte 2017-11-05 06:55:01 +01:00
parent e8b2493680
commit 8900024697

View File

@ -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);