From a49cf256ad61437355238bb7f14cf4f24e17a136 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 3 May 2010 13:29:56 -0400 Subject: [PATCH] fix race condition when hangup happends after answer indication but before the session thread is started --- src/include/private/switch_core_pvt.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;