title: Why gst_deinit freeze application?
body: <p>OS: Windows 10</p>
  <p>Gstreamer: 1.16.2</p>
  <p>Qt: 5.14.0</p>
  <p>I have application in QT, which use gstreamer. Now I would like to many times init and deinit gstreamer using:
  <code>gst_init(NULL, NULL)</code> and <code>gst_deinit()</code>.</p>
  <p>When I use <code>gst_deinit()</code> in my code, the application is freezed. When I debuq informations like this:</p>
  <pre><code>qInfo()&lt;&lt;&quot;before&quot;;
  gst_deinit();
  qInfo()&lt;&lt;&quot;after&quot;;
  </code></pre>
  <p>I see only &quot;before&quot; text.</p>
  <p>What should I do to deinit gstreamer and don't freeze application?</p>
  <p>EDIT should I use unref's functions?</p>