diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-02 08:20:46 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-02 08:20:46 +0100 |
commit | 9dc6bf850afece8e66b6c65aa8c5a81ee51005d7 (patch) | |
tree | 2c94af37d1cc20ac81bb5ae1af9eb3efdd66e29f /netwerk | |
parent | 52b989d53553949c82e999b86e24f824e55bafbb (diff) | |
download | uxp-9dc6bf850afece8e66b6c65aa8c5a81ee51005d7.tar.gz |
WebRTC: Drop DataChannelListener on Destroy().
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/sctp/datachannel/DataChannel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netwerk/sctp/datachannel/DataChannel.cpp b/netwerk/sctp/datachannel/DataChannel.cpp index f2a91c589b..ebc430f8c8 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()) |