diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-03-26 09:43:00 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-03-26 09:43:00 +0000 |
commit | adef801ce56c83e4798845db586deb743992e569 (patch) | |
tree | 64b814a5c5d67fc0112855ebb80bd19bff25f08c /guilib/GUIVisualisationControl.cpp | |
parent | 6d22e83986fa752e550ff7ff839c0542eafb2860 (diff) |
added: Allow immediate deletion of resources via CGUIControl::FreeResources(true);
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28827 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIVisualisationControl.cpp')
-rw-r--r-- | guilib/GUIVisualisationControl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIVisualisationControl.cpp b/guilib/GUIVisualisationControl.cpp index 110ee88635..5953e5ab43 100644 --- a/guilib/GUIVisualisationControl.cpp +++ b/guilib/GUIVisualisationControl.cpp @@ -36,7 +36,7 @@ void CGUIVisualisationControl::Render() CGUIRenderingControl::Render(); } -void CGUIVisualisationControl::FreeResources() +void CGUIVisualisationControl::FreeResources(bool immediately) { // tell our app that we're going if (!m_addon) @@ -45,7 +45,7 @@ void CGUIVisualisationControl::FreeResources() CGUIMessage msg(GUI_MSG_VISUALISATION_UNLOADING, m_controlID, 0); g_windowManager.SendMessage(msg); CLog::Log(LOGDEBUG, "FreeVisualisation() started"); - CGUIRenderingControl::FreeResources(); + CGUIRenderingControl::FreeResources(immediately); CLog::Log(LOGDEBUG, "FreeVisualisation() done"); } |