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 | 2fd722aac1a61e03dff109d15b43b7f644ca03ee (patch) | |
tree | 2c94af37d1cc20ac81bb5ae1af9eb3efdd66e29f /netwerk/sctp | |
parent | 682684f7416beaba8a88fe0744b40598b59f96ed (diff) | |
download | aura-central-2fd722aac1a61e03dff109d15b43b7f644ca03ee.tar.gz |
WebRTC: Drop DataChannelListener on Destroy().
Diffstat (limited to 'netwerk/sctp')
-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 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()) |