зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1587366 - Do not call VRManager::Shutdown immediately when the app is paused. r=daoshengmu,kip
Do not call VRManager::Shutdown immediately when the app is paused. Differential Revision: https://phabricator.services.mozilla.com/D49280 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3ea3f20309
Коммит
7c0ea68b6d
|
@ -305,9 +305,8 @@ void VRManager::TaskTimerCallback(nsITimer* aTimer, void* aClosure) {
|
|||
|
||||
if (self->mAppPaused) {
|
||||
// When the apps goes the background (e.g. Android) we should stop the
|
||||
// tasks and shutdown.
|
||||
// tasks.
|
||||
self->StopTasks();
|
||||
self->Shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче