summaryrefslogtreecommitdiff
path: root/ext/dtls/gstdtlsconnection.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-03-19 13:55:53 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-03-19 13:55:53 +0100
commit602b1ca3d273e679476d8ee32083c1678e7be211 (patch)
tree3383884a6037f041284f2cf079f69939b6c9b957 /ext/dtls/gstdtlsconnection.c
parentfd609f6bc06d89ca28f1b2d8faebf71d981624b5 (diff)
downloadgstreamer-plugins-bad-602b1ca3d273e679476d8ee32083c1678e7be211.tar.gz
dtls: Remove unused thread struct field
Diffstat (limited to 'ext/dtls/gstdtlsconnection.c')
-rw-r--r--ext/dtls/gstdtlsconnection.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/dtls/gstdtlsconnection.c b/ext/dtls/gstdtlsconnection.c
index 8734c4222..3d3f3d5f0 100644
--- a/ext/dtls/gstdtlsconnection.c
+++ b/ext/dtls/gstdtlsconnection.c
@@ -81,7 +81,6 @@ struct _GstDtlsConnectionPrivate
{
SSL *ssl;
BIO *bio;
- GThread *thread;
gboolean is_client;
gboolean is_alive;
@@ -170,7 +169,6 @@ gst_dtls_connection_init (GstDtlsConnection * self)
priv->ssl = NULL;
priv->bio = NULL;
- priv->thread = NULL;
priv->send_closure = NULL;
@@ -442,11 +440,6 @@ gst_dtls_connection_close (GstDtlsConnection * self)
GST_TRACE_OBJECT (self, "unlocking @ close");
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");
}