fix race condition when hangup happends after answer indication but before the session thread is started

This commit is contained in:
Anthony Minessale 2010-05-03 13:29:56 -04:00 committed by Jeff Lenk
parent 7db9b2efcb
commit a49cf256ad
1 changed files with 1 additions and 5 deletions

View File

@ -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;