~CaptureManager: DCHECK(capture_states_.empty()) instead of CHECK until we fix not empty bug.

BUG=chromium:320200
R=perkj@webrtc.org, tommi@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/49579004

Cr-Commit-Position: refs/heads/master@{#8922}
This commit is contained in:
Henrik Boström 2015-04-02 12:10:13 +02:00
parent cb76b89572
commit 037bad7497

View File

@ -176,7 +176,9 @@ CaptureManager::~CaptureManager() {
// cleaned up before we get here. In fact, in the normal shutdown sequence,
// all capturers *will* be shut down by now, so trying to stop them here
// will crash. If we're still tracking any, it's a dangling pointer.
CHECK(capture_states_.empty());
// TODO(hbos): DCHECK instead of CHECK until we figure out why capture_states_
// is not always empty here.
DCHECK(capture_states_.empty());
}
bool CaptureManager::StartVideoCapture(VideoCapturer* video_capturer,