diff options
-rw-r--r-- | apps/app_meetme.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index ba4e65982..8c60713bd 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1879,6 +1879,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c break; } + /* Perform an extra hangup check just in case */ + if (ast_check_hangup(chan)) + break; + if (c) { if (c->fds[0] != origfd) { if (using_pseudo) { @@ -2137,8 +2141,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c chan->name, f->frametype, f->subclass); } ast_frfree(f); - if (ast_check_hangup(chan)) - break; } else if (outfd > -1) { res = read(outfd, buf, CONF_SIZE); if (res > 0) { |