зеркало из https://github.com/mozilla/gecko-dev.git
Bug 865532 - Don't attempt to stop an AudioBufferSourceNode that doesn't have a context; r=padenot
This commit is contained in:
Родитель
6c274aa699
Коммит
8f22491495
|
@ -527,7 +527,7 @@ AudioBufferSourceNode::Stop(double aWhen, ErrorResult& aRv)
|
|||
}
|
||||
|
||||
AudioNodeStream* ns = static_cast<AudioNodeStream*>(mStream.get());
|
||||
if (!ns) {
|
||||
if (!ns || !Context()) {
|
||||
// We've already stopped and had our stream shut down
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче