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 16:07:20 +02:00 committed by Saúl Ibarra Corretgé
parent 3e77890387
commit ddaa22048f
1 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,13 @@ public class JitsiMeetActivity extends FragmentActivity
}
}
@Override
public void onDestroy() {
leave();
super.onDestroy();
}
@Override
public void finish() {
leave();