Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

call_factory.h

  • Sébastien Blin's avatar
    d7f840f1
    call: avoid to get access to invalidated account · d7f840f1
    Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
    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
    d7f840f1
    History
    call: avoid to get access to invalidated account
    Sébastien Blin authored and Adrien Béraud's avatar Adrien Béraud committed
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.