webrtc::CpuWindows::ProcessImpl() nullref crash resolution [6061101]
Review URL: https://webrtc-codereview.appspot.com/410004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1766 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
a68f05e841
commit
c29280d767
@ -165,10 +165,6 @@ bool CpuWindows::StopPollingCpu()
|
||||
}
|
||||
}
|
||||
|
||||
if (!has_initialized_)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
CriticalSectionScoped cs(terminate_crit_);
|
||||
terminate_ = true;
|
||||
sleep_event->Set();
|
||||
|
Loading…
x
Reference in New Issue
Block a user