mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 09:53:47 +00:00
dtls: Remove unused thread struct field
This commit is contained in:
parent
fd609f6bc0
commit
602b1ca3d2
1 changed files with 0 additions and 7 deletions
|
@ -81,7 +81,6 @@ struct _GstDtlsConnectionPrivate
|
||||||
{
|
{
|
||||||
SSL *ssl;
|
SSL *ssl;
|
||||||
BIO *bio;
|
BIO *bio;
|
||||||
GThread *thread;
|
|
||||||
|
|
||||||
gboolean is_client;
|
gboolean is_client;
|
||||||
gboolean is_alive;
|
gboolean is_alive;
|
||||||
|
@ -170,7 +169,6 @@ gst_dtls_connection_init (GstDtlsConnection * self)
|
||||||
|
|
||||||
priv->ssl = NULL;
|
priv->ssl = NULL;
|
||||||
priv->bio = NULL;
|
priv->bio = NULL;
|
||||||
priv->thread = NULL;
|
|
||||||
|
|
||||||
priv->send_closure = NULL;
|
priv->send_closure = NULL;
|
||||||
|
|
||||||
|
@ -442,11 +440,6 @@ gst_dtls_connection_close (GstDtlsConnection * self)
|
||||||
GST_TRACE_OBJECT (self, "unlocking @ close");
|
GST_TRACE_OBJECT (self, "unlocking @ close");
|
||||||
g_mutex_unlock (&self->priv->mutex);
|
g_mutex_unlock (&self->priv->mutex);
|
||||||
|
|
||||||
if (self->priv->thread) {
|
|
||||||
g_thread_join (self->priv->thread);
|
|
||||||
self->priv->thread = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "closed connection");
|
GST_DEBUG_OBJECT (self, "closed connection");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue