mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
fix nua_shutdown (MODENDP-75)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7204 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a974e75fab
commit
b1504c87b5
@ -293,7 +293,7 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
|
|||||||
if ((event > nua_r_authenticate && event <= nua_r_ack)
|
if ((event > nua_r_authenticate && event <= nua_r_ack)
|
||||||
|| event < nua_i_error
|
|| event < nua_i_error
|
||||||
|| (nh && !nh->nh_valid)
|
|| (nh && !nh->nh_valid)
|
||||||
|| (nua->nua_shutdown && event != nua_r_shutdown)) {
|
) {
|
||||||
if (msg)
|
if (msg)
|
||||||
msg_destroy(msg);
|
msg_destroy(msg);
|
||||||
return event;
|
return event;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user