Bug 993780 - Ignore calls to SetSignalingState_m once PC is in close. r=jib,rjesup

This commit is contained in:
Nils Ohlmeier [:drno] 2014-04-10 14:55:00 +02:00
Родитель 59ee14f2ce
Коммит 10db806555
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1753,7 +1753,8 @@ void
PeerConnectionImpl::SetSignalingState_m(PCImplSignalingState aSignalingState)
{
PC_AUTO_ENTER_API_CALL_NO_CHECK();
if (mSignalingState == aSignalingState) {
if (mSignalingState == aSignalingState ||
mSignalingState == PCImplSignalingState::SignalingClosed) {
return;
}