From 506c30acc7d0ffc07c0f4b3998f9479c3c385b2d Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Wed, 13 Jan 2016 03:18:59 -0500 Subject: [PATCH] Revert ""Fix" for hanging on exit when Video Streaming build is enabled." This reverts commit 02f69bea56b3ef2e19536dfd750d0f23928d102f. --- src/VideoStreaming/VideoStreaming.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/VideoStreaming/VideoStreaming.cc b/src/VideoStreaming/VideoStreaming.cc index 939ca0afe..ab5da872d 100644 --- a/src/VideoStreaming/VideoStreaming.cc +++ b/src/VideoStreaming/VideoStreaming.cc @@ -114,16 +114,7 @@ void initializeVideoStreaming(int &argc, char* argv[]) void shutdownVideoStreaming() { - /* From: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-Gst.html#gst-deinit - * - * "It is normally not needed to call this function in a normal application as the resources will automatically - * be freed when the program terminates. This function is therefore mostly used by testsuites and other memory - * profiling tools." - * - * It's causing a hang on exit. It hangs while deleting some thread. - * #if defined(QGC_GST_STREAMING) gst_deinit(); #endif - */ } -- 2.22.0