mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
e4a543d886
HLSResourceCallbacksSupport::mDecoder is cleared on main thread too, so the nullness check already ensures decoder methods won't be called after shut down. In fact, for OnError() the lock is harmful because the task calls MediaDecoder::NetworkError(), which triggers decoder shutdown and eventually HLSResourceCallbacksSupport::Detach(), which tries to lock the mutex again while the mutex is still locked. Differential Revision: https://phabricator.services.mozilla.com/D16709 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
HLSDecoder.cpp | ||
HLSDecoder.h | ||
HLSDemuxer.cpp | ||
HLSDemuxer.h | ||
HLSUtils.cpp | ||
HLSUtils.h | ||
moz.build |