do not attempt retract if onStop was faster than backend connect

This commit is contained in:
Daniel Gultsch 2020-04-23 10:13:10 +02:00
parent a008993d06
commit 60cea03dce

View file

@ -296,7 +296,9 @@ public class RtpSessionActivity extends XmppActivity implements XmppConnectionSe
if (jingleRtpConnection != null) { if (jingleRtpConnection != null) {
releaseVideoTracks(jingleRtpConnection); releaseVideoTracks(jingleRtpConnection);
} else if (!isChangingConfigurations()) { } else if (!isChangingConfigurations()) {
retractSessionProposal(); if (xmppConnectionService != null) {
retractSessionProposal();
}
} }
releaseProximityWakeLock(); releaseProximityWakeLock();
super.onStop(); super.onStop();