Closed trengginas closed 4 days ago
Consider the scenario:
pjsua_handle_ip_change()
info.transport
info_transport
pjsip_regc_release_transport
Note: Since pjsua_handle_ip_change() has the option to shutdown all the transport, then checking all the transport used by the registration to shutdown is redundant and no longer needed.
Consider the scenario:
pjsua_handle_ip_change()
is called.info.transport
will contain an already shutdown/destroyed transport since frominfo_transport
which is not reset whenpjsip_regc_release_transport
is called.Note: Since
pjsua_handle_ip_change()
has the option to shutdown all the transport, then checking all the transport used by the registration to shutdown is redundant and no longer needed.