diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-17 22:15:43 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-17 22:15:43 +0000 |
commit | 65256f0a290a1cd7832bb5379dd5b21035c80d0c (patch) | |
tree | 35382818b1ca0450cc14abbe2ef233f2368f33f3 | |
parent | f4b9549b24c00cd0f1885a09d8238dffa3ed8abd (diff) |
Remove redundant safety net. The check for the autoservice channel list state
accomplishes the same goal in a better way.
(issue #12470)
Reported By: atis
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114230 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/autoservice.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/autoservice.c b/main/autoservice.c index f60abb503..88ab0d4e6 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -271,10 +271,6 @@ int ast_autoservice_stop(struct ast_channel *chan) if (!orig_end_dtmf_flag) ast_clear_flag(chan, AST_FLAG_END_DTMF_ONLY); - /* Wait for it to un-block */ - while (ast_test_flag(chan, AST_FLAG_BLOCKING)) - usleep(1000); - while ((f = AST_LIST_REMOVE_HEAD(&dtmf_frames, frame_list))) { ast_queue_frame(chan, f); ast_frfree(f); |