android: make sure we left the current meeting when the activity is destroyed

If the user swipes the activity from the recents list there is no other chance,
onDestroy gets called directly.
This commit is contained in:
Saúl Ibarra Corretgé
2019-06-21 21:48:46 +02:00
committed by Saúl Ibarra Corretgé
parent 3e77890387
commit ddaa22048f
@@ -71,6 +71,13 @@ public class JitsiMeetActivity extends FragmentActivity
}
}
@Override
public void onDestroy() {
leave();
super.onDestroy();
}
@Override
public void finish() {
leave();