mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
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
This commit is contained in:

committed by
Adrien Béraud

parent
c16beb439a
commit
617de9b976
@ -66,7 +66,6 @@ SipTransportDescr::toString() const
|
||||
void
|
||||
SipTransport::deleteTransport(pjsip_transport* t)
|
||||
{
|
||||
pjsip_transport_shutdown(t);
|
||||
pjsip_transport_dec_ref(t);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user