mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-17 16:05:36 +00:00
sip: go offline when disposing CallsSipOrigin
This commit is contained in:
parent
4521033127
commit
afd5b5d6a8
1 changed files with 3 additions and 0 deletions
|
@ -871,6 +871,9 @@ calls_sip_origin_dispose (GObject *object)
|
|||
if (self->oper) {
|
||||
g_clear_pointer (&self->oper->call_handle, nua_handle_unref);
|
||||
g_clear_pointer (&self->oper->register_handle, nua_handle_unref);
|
||||
|
||||
if (!self->use_direct_connection && self->state == SIP_ACCOUNT_OFFLINE)
|
||||
calls_sip_origin_go_online (self, FALSE);
|
||||
}
|
||||
|
||||
if (self->nua) {
|
||||
|
|
Loading…
Reference in a new issue