do not attempt retract if onStop was faster than backend connect
This commit is contained in:
parent
a008993d06
commit
60cea03dce
|
@ -296,8 +296,10 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
|
||||||
if (jingleRtpConnection != null) {
|
if (jingleRtpConnection != null) {
|
||||||
releaseVideoTracks(jingleRtpConnection);
|
releaseVideoTracks(jingleRtpConnection);
|
||||||
} else if (!isChangingConfigurations()) {
|
} else if (!isChangingConfigurations()) {
|
||||||
|
if (xmppConnectionService != null) {
|
||||||
retractSessionProposal();
|
retractSessionProposal();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
releaseProximityWakeLock();
|
releaseProximityWakeLock();
|
||||||
super.onStop();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue