Skip to content
Snippets Groups Projects
Commit d7f840f1 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

call: avoid to get access to invalidated account

getSIPAccount() is returning a reference to the SIPAccount. Account
that can be destroyed and if a mistake is made, the data can be
invalidated, generally even when closing the daemon.

This patch change the behavior of getSIPAccount() to return a
weak_ptr to make sure that the Account is alive when performing
actions on the call

Change-Id: I1dcc05bce0c9826297535b5a5224f9ff22479d80
parent 0bc609fe
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