mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1304948
- Part 2: Don't run TimeMarchesOn when shutdown. r=rillian
MozReview-Commit-ID: AE6FE74ESHN --HG-- extra : rebase_source : c6bd95af29d063c237e07c3fbdefb0daf76874f1
This commit is contained in:
parent
1d54633f83
commit
9a94b5158f
@ -589,8 +589,8 @@ TextTrackManager::TimeMarchesOn()
|
||||
WEBVTT_LOG("TimeMarchesOn");
|
||||
mTimeMarchesOnDispatched = false;
|
||||
|
||||
// Early return if we don't have any TextTracks.
|
||||
if (!mTextTracks || mTextTracks->Length() == 0) {
|
||||
// Early return if we don't have any TextTracks or shutting down.
|
||||
if (!mTextTracks || mTextTracks->Length() == 0 || mShutdown) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user