summaryrefslogtreecommitdiff
path: root/netwerk/sctp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-02 08:20:46 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-02 08:20:46 +0100
commit2fd722aac1a61e03dff109d15b43b7f644ca03ee (patch)
tree2c94af37d1cc20ac81bb5ae1af9eb3efdd66e29f /netwerk/sctp
parent682684f7416beaba8a88fe0744b40598b59f96ed (diff)
downloadaura-central-2fd722aac1a61e03dff109d15b43b7f644ca03ee.tar.gz
WebRTC: Drop DataChannelListener on Destroy().
Diffstat (limited to 'netwerk/sctp')
-rw-r--r--netwerk/sctp/datachannel/DataChannel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/sctp/datachannel/DataChannel.cpp b/netwerk/sctp/datachannel/DataChannel.cpp
index f2a91c589..ebc430f8c 100644
--- a/netwerk/sctp/datachannel/DataChannel.cpp
+++ b/netwerk/sctp/datachannel/DataChannel.cpp
@@ -276,6 +276,7 @@ DataChannelConnection::Destroy()
LOG(("Deregistered %p from the SCTP stack.", static_cast<void *>(this)));
}
+ mListener = nullptr;
// Finish Destroy on STS thread to avoid bug 876167 - once that's fixed,
// the usrsctp_close() calls can move back here (and just proxy the
// disconnect_all())