Stop IncomingVideoStream on delete.
Fixes race between VideoReceiveStream destruction and pending IncomingVideoStream frames. BUG= TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45259004 Cr-Commit-Position: refs/heads/master@{#9084}
This commit is contained in:
parent
23dc68e515
commit
52ef9d7738
@ -263,6 +263,7 @@ VideoReceiveStream::VideoReceiveStream(webrtc::VideoEngine* video_engine,
|
||||
}
|
||||
|
||||
VideoReceiveStream::~VideoReceiveStream() {
|
||||
incoming_video_stream_->Stop();
|
||||
vie_channel_->RegisterPreRenderCallback(nullptr);
|
||||
vie_channel_->RegisterPreDecodeImageCallback(nullptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user