Skip to content
Snippets Groups Projects
Commit 15bdc648 authored by Mohamed Chibani's avatar Mohamed Chibani Committed by Sébastien Blin
Browse files

jamiaccount: fix call hangup when removing the account

When an instance of JamiAccount class is destroyed, an attempt
is made  in the destructor to hangup all existing calls by
calling the hangupCalls() method. However, many methods used in
the process (such as terminateSipSession) uses a weak_ptr to
get the account instance, which is not accessible anymore.
The call to hangupCalls() is now called before the JamiAccount
destructor is called.

Gitlab: #627

Change-Id: I26e603a88c5074414d88e59d005d95a952c51d5e
parent 7af8f132
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment