mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
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:
parent
3ea3f20309
commit
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user