mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 11:35:32 +00:00
sip: origin: Destroy registration handle on deinit
Otherwise shutting down may be timing out, because there are pending messages. Calling nua_destroy_handle() will kill any dialog/leg.
This commit is contained in:
parent
a3d91d92b5
commit
56259fd1f1
1 changed files with 2 additions and 0 deletions
|
@ -1037,6 +1037,8 @@ deinit_sip_account (CallsSipOrigin *self)
|
|||
remove_calls (self, NULL);
|
||||
|
||||
if (self->nua) {
|
||||
g_debug ("Clearing any handles");
|
||||
g_clear_pointer (&self->oper->register_handle, nua_handle_destroy);
|
||||
g_debug ("Requesting nua_shutdown ()");
|
||||
self->is_nua_shutdown = FALSE;
|
||||
self->is_shutdown_success = FALSE;
|
||||
|
|
Loading…
Reference in a new issue