Commit da40f496 authored by Alexandre Savard's avatar Alexandre Savard

#9547: Destroy the STUN resolver in Transport shutdown

parent c84d4313
......@@ -1566,6 +1566,12 @@ pjsip_transport *SIPVoIPLink::createStunTransport(pj_str_t serverName, pj_uint16
void SIPVoIPLink::shutdownSipTransport(SIPAccount *account)
if (account->isStunEnabled()) {
pj_str_t stunServerName = account->getStunServerName();
std::string server(stunServerName.ptr, stunServerName.slen);
if (account->transport_) {
account->transport_ = NULL;
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