зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1235183. Part 5 - per comment 35, cancel existing |mChannelLoader| in AbortExistingLoads(). r=cpearce
MozReview-Commit-ID: 27DZC8rwAJ5 --HG-- extra : rebase_source : 71f7798675c2d6d9521a2615a5d0292bce107a0a
This commit is contained in:
Родитель
2ec53dfa9a
Коммит
edf5b8db9c
|
@ -873,6 +873,11 @@ void HTMLMediaElement::AbortExistingLoads()
|
|||
// with a different load ID to silently be cancelled.
|
||||
mCurrentLoadID++;
|
||||
|
||||
if (mChannelLoader) {
|
||||
mChannelLoader->Cancel();
|
||||
mChannelLoader = nullptr;
|
||||
}
|
||||
|
||||
bool fireTimeUpdate = false;
|
||||
|
||||
// When aborting the existing loads, empty the objects in audio track list and
|
||||
|
|
Загрузка…
Ссылка в новой задаче