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) {
|
||||
return;
|
||||
}
|
||||
|
||||
WrappableJSErrorResult rv;
|
||||
RUN_ON_THREAD(mThread,
|
||||
WrapRunnable(pco,
|
||||
&PeerConnectionObserver::OnStateChange,
|
||||
PCObserverStateType::IceConnectionState,
|
||||
rv, static_cast<JSCompartment*>(nullptr)),
|
||||
NS_DISPATCH_NORMAL);
|
||||
pco->OnStateChange(PCObserverStateType::IceConnectionState, rv);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user