Safety net for onDestroy

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-01-11 23:09:40 +01:00
parent a6e854bc9f
commit 350f7cc579

View File

@ -1124,7 +1124,9 @@ public class CallActivity extends AppCompatActivity {
@Override
public void onDestroy() {
hangup(false);
if (inCall) {
hangup(false);
}
//this.unregisterReceiver(networkBroadcastReceier);
super.onDestroy();
}