Fixed cleanup for TCP connections where same stream is used for In and Out.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5858 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
cb382e02a2
commit
7c7d9e2a16
|
@ -811,6 +811,8 @@ ExtModReceiver::~ExtModReceiver()
|
|||
closeAudio();
|
||||
Stream* tmp = m_in;
|
||||
m_in = 0;
|
||||
if (tmp == m_out)
|
||||
m_out = 0;
|
||||
delete tmp;
|
||||
tmp = m_out;
|
||||
m_out = 0;
|
||||
|
|
Loading…
Reference in New Issue