GNOME Bugzilla – Bug 752640
Warning in gst_rtsp_thread_pool_cleanup()
Last modified: 2015-08-16 13:37:20 UTC
My unit test's main() ends with gst_rtsp_thread_pool_cleanup() but some of my tests are not using the rtsp server and are running in a subprocess. In that case I get this warning: (lt-server:18454): GLib-GObject-WARNING **: invalid class cast from (NULL) pointer to 'GstRTSPThreadPool'
Created attachment 307785 [details] [review] Fix possible warning in gst_rtsp_thread_pool_cleanup()
Review of attachment 307785 [details] [review]: I think this makes sense. Code may not know if at least one instance was created.
Comment on attachment 307785 [details] [review] Fix possible warning in gst_rtsp_thread_pool_cleanup() commit 5585dc587831a8dbf6d563cd054a61c85992fe02 Author: Xavier Claessens <xavier.claessens@collabora.com> Date: Mon Jul 20 16:37:44 2015 -0400 threadpool: Fix possible warning in gst_rtsp_thread_pool_cleanup() https://bugzilla.gnome.org/show_bug.cgi?id=752640