Verify that cpu_monitor exists before calling Stop().
R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25259004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7795 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
c3e097cdc5
commit
d8aed6b321
@ -1178,7 +1178,9 @@ void WebRtcVideoEngine::Terminate() {
|
|||||||
LOG_RTCERR0(SetVoiceEngine);
|
LOG_RTCERR0(SetVoiceEngine);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cpu_monitor_.get()) {
|
||||||
cpu_monitor_->Stop();
|
cpu_monitor_->Stop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int WebRtcVideoEngine::GetCapabilities() {
|
int WebRtcVideoEngine::GetCapabilities() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user