Commit 49541d10 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Adrien Béraud

sipvoiplink: remove wait for completed transactions in dtor

Change-Id: Ib78b187a8b0f094c0051a436c12e534a36ec2126
parent 25068e2e
......@@ -617,12 +617,6 @@ SIPVoIPLink::~SIPVoIPLink()
sipTransportBroker->shutdown();
const int MAX_TIMEOUT_ON_LEAVING = 5;
for (int timeout = 0;
pjsip_tsx_layer_get_tsx_count() and timeout < MAX_TIMEOUT_ON_LEAVING;
timeout++)
std::this_thread::sleep_for(std::chrono::seconds(1));
pjsip_tpmgr_set_state_cb(pjsip_endpt_get_tpmgr(endpt_), nullptr);
sipTransportBroker.reset();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment