fix: try to stop ringtone on call termination
This commit is contained in:
parent
10e6b9b0e6
commit
d8ac3b337a
|
|
@ -1065,6 +1065,13 @@ class CallSession {
|
|||
ringingTimer?.cancel();
|
||||
ringingTimer = null;
|
||||
|
||||
try {
|
||||
voip.delegate.stopRingtone();
|
||||
} catch (e) {
|
||||
// maybe rigntone never started (group calls) or has been stopped already
|
||||
Logs().d('stopping ringtone failed ', e);
|
||||
}
|
||||
|
||||
hangupParty = party;
|
||||
hangupReason = reason;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue