From df18a822b7f5209005b4908612852299b55aeb2c Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 17 Nov 2020 22:09:22 +0100 Subject: [PATCH] Fixed an issue where videos would keep playing when switching gamelists. --- es-app/src/views/ViewController.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index c5cf8a63c..9b272e339 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -290,11 +290,14 @@ void ViewController::goToGameList(SystemData* system) cancelViewTransitions(); // Disable rendering of the system view. - if (getSystemListView()->getRenderView()) + if (getSystemListView()->getRenderView()) { getSystemListView()->setRenderView(false); + } // If switching between gamelists, disable rendering of the current view. - else if (mCurrentView) + else if (mCurrentView) { + mCurrentView->onHide(); mCurrentView->setRenderView(false); + } if (mState.viewing == SYSTEM_SELECT) { // Move system list.