Remove assert for aborting FrameGeneratorCapturer.
BUG= TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1586004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4133 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
26d12105a4
commit
7bdfff3503
@ -57,11 +57,10 @@ FrameGeneratorCapturer::~FrameGeneratorCapturer() {
|
||||
|
||||
if (thread_ != NULL) {
|
||||
if (!thread_->Stop()) {
|
||||
// TODO(pbos): Log a warning instead.
|
||||
assert(!"Couldn't stop FrameGeneratorCapturer thread!");
|
||||
// TODO(pbos): Log a warning. This will leak a thread.
|
||||
} else {
|
||||
delete thread_;
|
||||
}
|
||||
|
||||
delete thread_;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user