aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIControlGroup.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
committerjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
commitadef801ce56c83e4798845db586deb743992e569 (patch)
tree64b814a5c5d67fc0112855ebb80bd19bff25f08c /guilib/GUIControlGroup.cpp
parent6d22e83986fa752e550ff7ff839c0542eafb2860 (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/GUIControlGroup.cpp')
-rw-r--r--guilib/GUIControlGroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUIControlGroup.cpp b/guilib/GUIControlGroup.cpp
index 4066b1b4cb..ad6f6c448a 100644
--- a/guilib/GUIControlGroup.cpp
+++ b/guilib/GUIControlGroup.cpp
@@ -78,13 +78,13 @@ void CGUIControlGroup::AllocResources()
}
}
-void CGUIControlGroup::FreeResources()
+void CGUIControlGroup::FreeResources(bool immediately)
{
- CGUIControl::FreeResources();
+ CGUIControl::FreeResources(immediately);
for (iControls it = m_children.begin(); it != m_children.end(); ++it)
{
CGUIControl *control = *it;
- control->FreeResources();
+ control->FreeResources(immediately);
}
}