mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-07 08:21:08 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5482 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ce882ce7a6
commit
aca9dbe8ee
@ -687,7 +687,7 @@ static void terminate_session(switch_core_session_t **session, int line, switch_
|
|||||||
|
|
||||||
tech_pvt = switch_core_session_get_private(*session);
|
tech_pvt = switch_core_session_get_private(*session);
|
||||||
|
|
||||||
if (!tech_pvt || !switch_test_flag(tech_pvt, TFLAG_READY)) {
|
if (!switch_core_session_running(*session) && (!tech_pvt || !switch_test_flag(tech_pvt, TFLAG_READY))) {
|
||||||
switch_core_session_destroy(session);
|
switch_core_session_destroy(session);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user