Fix crash in AudioDeviceUtilityIOS::~AudioDeviceUtilityIOS.
BUG=3581 R=glaznev@webrtc.org Review URL: https://webrtc-codereview.appspot.com/16109004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6732 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ba92c52570
commit
9343cf67a9
@ -27,8 +27,9 @@ AudioDeviceUtilityIOS::AudioDeviceUtilityIOS(const int32_t id)
|
|||||||
AudioDeviceUtilityIOS::~AudioDeviceUtilityIOS() {
|
AudioDeviceUtilityIOS::~AudioDeviceUtilityIOS() {
|
||||||
WEBRTC_TRACE(kTraceMemory, kTraceAudioDevice, _id,
|
WEBRTC_TRACE(kTraceMemory, kTraceAudioDevice, _id,
|
||||||
"%s destroyed", __FUNCTION__);
|
"%s destroyed", __FUNCTION__);
|
||||||
CriticalSectionScoped lock(&_critSect);
|
{
|
||||||
|
CriticalSectionScoped lock(&_critSect);
|
||||||
|
}
|
||||||
delete &_critSect;
|
delete &_critSect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user