aboutsummaryrefslogtreecommitdiff
path: root/plugins/ice/src/transport_parameters.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-04-09 19:04:24 +0200
committerfiaxh <git@lightrise.org>2021-04-09 22:23:56 +0200
commit5e11986838057a5cdbdf9d271316513da1bd4764 (patch)
treecca129e6de5250f9f9bca15c0cc0ea01ac467cb0 /plugins/ice/src/transport_parameters.vala
parent09dc38f169745cb7697fdb969b9d4eb5e021e07a (diff)
downloaddino-5e11986838057a5cdbdf9d271316513da1bd4764.tar.gz
dino-5e11986838057a5cdbdf9d271316513da1bd4764.zip
Fix dtls pull_timeout_function, fix cyclic references
Diffstat (limited to 'plugins/ice/src/transport_parameters.vala')
-rw-r--r--plugins/ice/src/transport_parameters.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/ice/src/transport_parameters.vala b/plugins/ice/src/transport_parameters.vala
index e4862edc..f854a367 100644
--- a/plugins/ice/src/transport_parameters.vala
+++ b/plugins/ice/src/transport_parameters.vala
@@ -40,6 +40,7 @@ public class Dino.Plugins.Ice.TransportParameters : JingleIceUdp.IceUdpTransport
yield base.terminate(we_terminated, reason_string, reason_text);
this.disconnect(datagram_received_id);
agent = null;
+ dtls_srtp_handler = null;
}
public override void send_datagram(Bytes datagram) {
@@ -324,4 +325,11 @@ public class Dino.Plugins.Ice.TransportParameters : JingleIceUdp.IceUdpTransport
return candidate;
}
+
+ public override void dispose() {
+ base.dispose();
+ agent = null;
+ dtls_srtp_handler = null;
+ connections.clear();
+ }
}