mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1411977 - Part 6: Don't unwind the stack when firing onsignalingstatechange. r=drno
MozReview-Commit-ID: 5qAlxKFzKQk --HG-- extra : rebase_source : 6757a3c16e974cf9ebd5c1216c40bd25369880e5
This commit is contained in:
parent
be3a417b19
commit
4cfe4f3aa5
@ -3212,13 +3212,9 @@ void PeerConnectionImpl::IceConnectionStateChange(
|
|||||||
if (!pco) {
|
if (!pco) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
WrappableJSErrorResult rv;
|
WrappableJSErrorResult rv;
|
||||||
RUN_ON_THREAD(mThread,
|
pco->OnStateChange(PCObserverStateType::IceConnectionState, rv);
|
||||||
WrapRunnable(pco,
|
|
||||||
&PeerConnectionObserver::OnStateChange,
|
|
||||||
PCObserverStateType::IceConnectionState,
|
|
||||||
rv, static_cast<JSCompartment*>(nullptr)),
|
|
||||||
NS_DISPATCH_NORMAL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user