MT#63171 SIPRegistrarClient: facilitate shutdown

Use AmEventQueueThread so that the thread can shut down when requested
to.

Change-Id: I5021fb25a689d3cc00882a5b3776c8421aa02357
mr13.5
Richard Fuchs 1 year ago
parent 1f5564af02
commit bd5462dd3e

@ -60,7 +60,7 @@ SIPRegistrarClient* SIPRegistrarClient::instance()
}
SIPRegistrarClient::SIPRegistrarClient(const string& name)
: AmEventQueue(this),
: AmEventQueueThread(this),
uac_auth_i(NULL),
AmDynInvokeFactory(MOD_NAME)
{

@ -41,8 +41,7 @@ using std::string;
struct SIPNewRegistrationEvent;
class SIPRemoveRegistrationEvent;
class SIPRegistrarClient : public AmThread,
public AmEventQueue,
class SIPRegistrarClient : public AmEventQueueThread,
public AmEventHandler,
public AmDynInvoke,
public AmDynInvokeFactory

Loading…
Cancel
Save