Skip to content
Snippets Groups Projects
Commit 6a541f48 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #7245: fixed crasher in destructor of audio_zrtp_session

parent 3163a376
No related branches found
No related tags found
No related merge requests found
...@@ -87,12 +87,8 @@ class AudioSymmetricRtpSession : public ost::TimerPort, public ost::SymmetricRTP ...@@ -87,12 +87,8 @@ class AudioSymmetricRtpSession : public ost::TimerPort, public ost::SymmetricRTP
}; };
SpeexEchoCancel echoCanceller; SpeexEchoCancel echoCanceller;
protected: private:
AudioRtpThread *rtpThread_; AudioRtpThread *rtpThread_;
public:
friend class AudioRtpThread;
}; };
} }
......
...@@ -68,11 +68,17 @@ AudioZrtpSession::AudioZrtpSession(SIPCall * sipcall, const std::string& zidFile ...@@ -68,11 +68,17 @@ AudioZrtpSession::AudioZrtpSession(SIPCall * sipcall, const std::string& zidFile
AudioZrtpSession::~AudioZrtpSession() AudioZrtpSession::~AudioZrtpSession()
{ {
// tmatth:Oct 20 2011:FIXME:
// This was crashing...seems like it's not necessary. Double check
// with valgrind/helgrind
#if 0
try { try {
terminate(); ost::Thread::terminate();
} catch (...) { } catch (...) {
throw; throw;
} }
#endif
Manager::instance().getMainBuffer()->unBindAll(ca_->getCallId()); Manager::instance().getMainBuffer()->unBindAll(ca_->getCallId());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment