voicecall: Cleanup dial request when removing atom

This commit is contained in:
Denis Kenzior 2010-08-27 18:26:45 -05:00
parent 605d720bd4
commit c92a31ac3a
1 changed files with 2 additions and 0 deletions

View File

@ -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);