Don't forget to run the schedule queue
authorMark Spencer <markster@digium.com>
Wed, 16 Jun 2004 21:15:15 +0000 (21:15 +0000)
committerMark Spencer <markster@digium.com>
Wed, 16 Jun 2004 21:15:15 +0000 (21:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3227 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_talkdetect.c

index 1157ac3..60219c2 100755 (executable)
@@ -170,6 +170,7 @@ static int background_detect_exec(struct ast_channel *chan, void *data)
                                        }
                                        ast_frfree(fr);
                                }
+                               ast_sched_runq(chan->sched);
                        }
                        ast_stopstream(chan);
                } else {