mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
media-manager: Don't run deinitialize GStreamer in finalize()
This makes running tests harder as we cannot call gst_init() after gst_deinit() has been called. This is what the API reference has to say about it at https://gstreamer.freedesktop.org/documentation/gstreamer/gst.html?gi-language=c#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.
This commit is contained in:
parent
2d4c3f9b43
commit
a99755424f
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ static void
|
|||
calls_sip_media_manager_finalize (GObject *object)
|
||||
{
|
||||
CallsSipMediaManager *self = CALLS_SIP_MEDIA_MANAGER (object);
|
||||
gst_deinit ();
|
||||
|
||||
g_list_free (self->preferred_codecs);
|
||||
g_object_unref (self->settings);
|
||||
|
|
Loading…
Reference in a new issue