mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 981112 - Destruct MediaDecoderReader first r=padenot
This commit is contained in:
parent
525a293941
commit
1361c4bdbf
@ -141,8 +141,10 @@ private:
|
||||
void Cleanup()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
mBufferDecoder = nullptr;
|
||||
// MediaDecoderReader expects that BufferDecoder is alive.
|
||||
// Destruct MediaDecoderReader first.
|
||||
mDecoderReader = nullptr;
|
||||
mBufferDecoder = nullptr;
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user