dtls: Check if pad stopped while sending data
All threads resolved!
All threads resolved!
Compare changes
- Doug Nazar authored
Prevents endless loop during shutdown where we end up sending 0 bytes. Part-of: <!2229>
+ 5
− 0
@@ -565,6 +565,9 @@ sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
@@ -680,6 +683,8 @@ on_send_data (GstDtlsConnection * connection, gconstpointer data, gsize length,