From: Joshua Colp Date: Tue, 19 Jun 2007 13:54:03 +0000 (+0000) Subject: Perform an extra hangup check just in case. (issue #9589 reported by bcnit) X-Git-Tag: 1.2.20~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21d079484975b47f5e5266436972fada48de109;p=thirdparty%2Fasterisk.git Perform an extra hangup check just in case. (issue #9589 reported by bcnit) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@69894 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 8e7f2d8f0a..405dff9aaa 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1296,6 +1296,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c } } + /* If the channel wants to be hung up, hang it up */ + if (ast_check_hangup(chan)) + break; + if (c) { if (c->fds[0] != origfd) { if (using_pseudo) {