mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 21:07:30 +09:00
[DOM media] Add a lock around Reset() in WebMBufferedParser
This commit is contained in:
parent
a94d85142d
commit
e5d81e17d3
1 changed files with 1 additions and 0 deletions
|
|
@ -425,6 +425,7 @@ void WebMBufferedState::NotifyDataArrived(const unsigned char* aBuffer, uint32_t
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebMBufferedState::Reset() {
|
void WebMBufferedState::Reset() {
|
||||||
|
ReentrantMonitorAutoEnter mon(mReentrantMonitor);
|
||||||
mRangeParsers.Clear();
|
mRangeParsers.Clear();
|
||||||
mTimeMapping.Clear();
|
mTimeMapping.Clear();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue