Bug 1443032: stop closing usrsctp on callback. r=jesup

MozReview-Commit-ID: BgX9I1shVeN

--HG--
extra : rebase_source : ffee150924da89bd7e7564730c9c08fa59653223
This commit is contained in:
Nils Ohlmeier [:drno] 2018-03-20 11:19:14 +00:00
parent 3073443de2
commit 6d558b16f6

View File

@ -2312,7 +2312,7 @@ DataChannelConnection::ReceiveCallback(struct socket* sock, void *data, size_t d
ASSERT_WEBRTC(!NS_IsMainThread());
if (!data) {
usrsctp_close(sock); // SCTP has finished shutting down
LOG(("ReceiveCallback: SCTP has finished shutting down"));
} else {
mLock.AssertCurrentThreadOwns();
if (flags & MSG_NOTIFICATION) {