FS-7930: [mod_conference] Correct termination of conference when the last member with endconf left. Caused by typo in migration to conference_utils_set_flag function when we switched to array based flags

This commit is contained in:
Michael Jerris 2015-08-10 18:48:01 -04:00
parent a2edd01e06
commit 28ae331c93
1 changed files with 2 additions and 1 deletions

View File

@ -664,7 +664,8 @@ void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, void *ob
switch_epoch_time_now(NULL) - conference->endconference_time > conference->endconference_grace_time) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Conference %s: endconf grace time exceeded (%u)\n",
conference->name, conference->endconference_grace_time);
conference_utils_set_flag(conference, CFLAG_DESTRUCT | CFLAG_ENDCONF_FORCED);
conference_utils_set_flag(conference, CFLAG_DESTRUCT);
conference_utils_set_flag(conference, CFLAG_ENDCONF_FORCED);
}
switch_mutex_unlock(conference->mutex);