From: Anthony Minessale Date: Mon, 3 May 2010 17:29:56 +0000 (-0400) Subject: fix race condition when hangup happends after answer indication but before the sessio... X-Git-Tag: git2svn-syncpoint-master~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49cf256ad61437355238bb7f14cf4f24e17a136;p=thirdparty%2Ffreeswitch.git fix race condition when hangup happends after answer indication but before the session thread is started --- diff --git a/src/include/private/switch_core_pvt.h b/src/include/private/switch_core_pvt.h index 882c3c331a..12fd3209c6 100644 --- a/src/include/private/switch_core_pvt.h +++ b/src/include/private/switch_core_pvt.h @@ -94,11 +94,7 @@ typedef enum { SSF_WARN_TRANSCODE = (1 << 1), SSF_HANGUP = (1 << 2), SSF_THREAD_STARTED = (1 << 3), - SSF_THREAD_RUNNING = (1 << 4), - SSF_READ_TRANSCODE = (1 << 5), - SSF_WRITE_TRANSCODE = (1 << 6), - SSF_READ_CODEC_RESET = (1 << 7), - SSF_WRITE_CODEC_RESET = (1 << 8) + SSF_THREAD_RUNNING = (1 << 4) } switch_session_flag_t;