mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1316221
- Null check mDecoder in RecvShutdown. r=dvander
This commit is contained in:
parent
77e78d9558
commit
ab12db3032
@ -153,7 +153,9 @@ bool
|
||||
VideoDecoderParent::RecvShutdown()
|
||||
{
|
||||
MOZ_ASSERT(!mDestroyed);
|
||||
mDecoder->Shutdown();
|
||||
if (mDecoder) {
|
||||
mDecoder->Shutdown();
|
||||
}
|
||||
mDecoder = nullptr;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user