Commit 31c50af3 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #14455: audiortp: don't destroy AudioCodec unless holding audio codec mutex

parent 1b45e68e
......@@ -86,7 +86,10 @@ AudioRtpRecord::~AudioRtpRecord()
delete converterEncode_;
delete converterDecode_;
ost::MutexLock lock(audioCodecMutex_);
delete audioCodec_;
ost::MutexLock lock(audioProcessMutex_);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment