-
- Downloads
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
Showing
- src/call.cpp 10 additions, 5 deletionssrc/call.cpp
- src/call.h 4 additions, 4 deletionssrc/call.h
- src/call_factory.h 2 additions, 2 deletionssrc/call_factory.h
- src/conference.cpp 10 additions, 2 deletionssrc/conference.cpp
- src/jamidht/jamiaccount.cpp 39 additions, 37 deletionssrc/jamidht/jamiaccount.cpp
- src/manager.cpp 23 additions, 5 deletionssrc/manager.cpp
- src/sip/sipaccount.cpp 2 additions, 2 deletionssrc/sip/sipaccount.cpp
- src/sip/sipcall.cpp 86 additions, 39 deletionssrc/sip/sipcall.cpp
- src/sip/sipcall.h 2 additions, 2 deletionssrc/sip/sipcall.h
- src/sip/sipvoiplink.cpp 29 additions, 27 deletionssrc/sip/sipvoiplink.cpp
Loading
Please register or sign in to comment