mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-19 05:30:15 +00: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
|
||||
public void onDestroy() {
|
||||
hangup(false);
|
||||
if (inCall) {
|
||||
hangup(false);
|
||||
}
|
||||
//this.unregisterReceiver(networkBroadcastReceier);
|
||||
super.onDestroy();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user