[Freeswitch-svn] [commit] r5482 - freeswitch/trunk/src/mod/endpoints/mod_dingaling
Author: anthm Date: Thu Jun 28 10:29:11 2007 New Revision: 5482 Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Log: update Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Thu Jun 28 10:29:11 2007 @@ -687,7 +687,7 @@ 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); return; }
participants (1)
-
Freeswitch SVN