summaryrefslogtreecommitdiffstats
path: root/netwerk/sctp/datachannel/DataChannel.cpp
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
commit9dc6bf850afece8e66b6c65aa8c5a81ee51005d7 (patch)
tree2c94af37d1cc20ac81bb5ae1af9eb3efdd66e29f /netwerk/sctp/datachannel/DataChannel.cpp
parent52b989d53553949c82e999b86e24f824e55bafbb (diff)
downloadUXP-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.tar
UXP-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.tar.gz
UXP-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.tar.lz
UXP-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.tar.xz
UXP-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.zip
WebRTC: Drop DataChannelListener on Destroy().
Diffstat (limited to 'netwerk/sctp/datachannel/DataChannel.cpp')
-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())