Fixed mod_opal shut down of media streams (in particular UDPTL) on KILL from fs core.

This commit is contained in:
Robert Jongbloed 2012-09-19 10:37:06 +10:00
parent c979f1b8f3
commit 96da521634
1 changed files with 2 additions and 1 deletions

View File

@ -929,9 +929,10 @@ switch_status_t FSConnection::kill_channel(int sig)
{
switch (sig) {
case SWITCH_SIG_KILL:
PTRACE(4, "mod_opal\tSignal KILL received on connection " << *this);
m_rxAudioOpened.Signal();
m_txAudioOpened.Signal();
PTRACE(4, "mod_opal\tSignal KILL received on connection " << *this);
CloseMediaStreams();
break;
case SWITCH_SIG_BREAK: