Skip to content
Snippets Groups Projects
Commit 617de9b9 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

siptransport: do not force shutdown

Following the pjsip doc, pjsip_transport_dec_ref will shutdown the
transport if necessary. Moreover, when connectivity changes, the
transport is already with the state PJSIP_TP_STATE_SHUTDOWN.
If deleteTransport calls pjsip_transport_shutdown, the transport will
still be used by the sipaccount, but getUDPTransport will return a
unusable transport.

Change-Id: I25b7f0d282d62d28b7a49065d72e0c0de620b310
parent c16beb43
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,6 @@ SipTransportDescr::toString() const
void
SipTransport::deleteTransport(pjsip_transport* t)
{
pjsip_transport_shutdown(t);
pjsip_transport_dec_ref(t);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment