Bug 1543350 - don't shut-down taskqueue early. r=jya,mjf

Shutting down the taskqueue early prevents the decoder's tasks to be queued.

A TaskQueue no longer requires to be explicitly shutdown it will shutdown when ref counter drops to zero.

Differential Revision: https://phabricator.services.mozilla.com/D26929

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alex Chronopoulos 2019-04-18 08:23:59 +00:00
Родитель baf580cdfa
Коммит 1af9f39b96
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -159,9 +159,6 @@ void RemoteDecoderParent::ActorDestroy(ActorDestroyReason aWhy) {
mDecoder->Shutdown();
mDecoder = nullptr;
}
if (mDecodeTaskQueue) {
mDecodeTaskQueue->BeginShutdown();
}
}
void RemoteDecoderParent::Error(const MediaResult& aError) {