mirror of git://git.sysmocom.de/ofono
voicecall: Cleanup dial request when removing atom
This commit is contained in:
parent
605d720bd4
commit
c92a31ac3a
|
@ -1953,6 +1953,8 @@ static void voicecall_unregister(struct ofono_atom *atom)
|
|||
vc->sim_watch = 0;
|
||||
}
|
||||
|
||||
dial_request_finish(vc, TRUE);
|
||||
|
||||
for (l = vc->call_list; l; l = l->next)
|
||||
voicecall_dbus_unregister(vc, l->data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue