gl/tests: fix deadlock on glcontext wrapped context test

This commit is contained in:
Matthew Waters 2015-03-13 09:37:46 +00:00 committed by Tim-Philipp Müller
parent d6e460095f
commit ae08ada8f0

View file

@ -374,13 +374,12 @@ GST_START_TEST (test_wrapped_context)
i++;
}
gst_object_unref (other_context);
gst_gl_window_send_message (window, GST_GL_WINDOW_CB (check_wrapped),
wrapped_context);
gst_gl_window_send_message (other_window, GST_GL_WINDOW_CB (deinit), context);
gst_object_unref (other_context);
gst_object_unref (other_window);
gst_object_unref (window);
gst_object_unref (context);