From 7ffa70d0ac3558c31811877dc6af0b66b66dbea2 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 20 Nov 2018 09:36:58 +1300 Subject: [PATCH] Fix memory accumulating while Interface is minimized --- interface/src/Application.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 7a30b566e9..929a27c88b 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -6222,6 +6222,11 @@ void Application::update(float deltaTime) { PerformanceTimer perfTimer("enqueueFrame"); getMain3DScene()->enqueueFrame(); } + + // If the display plugin is inactive then the frames won't be processed so process them here. + if (!getActiveDisplayPlugin()->isActive()) { + getMain3DScene()->processTransactionQueue(); + } } void Application::updateRenderArgs(float deltaTime) {