mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-19 18:55:05 +01:00
Safety net for onDestroy
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
a6e854bc9f
commit
350f7cc579
@ -1124,7 +1124,9 @@ public class CallActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
hangup(false);
|
if (inCall) {
|
||||||
|
hangup(false);
|
||||||
|
}
|
||||||
//this.unregisterReceiver(networkBroadcastReceier);
|
//this.unregisterReceiver(networkBroadcastReceier);
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user