aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jcmarsha@gmail.com>2014-03-09 13:06:09 +1300
committerJonathan Marshall <jmarshall@xbmc.org>2014-03-09 13:56:13 +1300
commit0afd00f715ea587f859b2de888c39a6229eb8c3f (patch)
tree0353c2fbf6e6ca6b867574575f408942fa08996f
parent12ace5dfcc137ed32fcfc9bb1bcafb221f8f5692 (diff)
Merge pull request #4370 from jmarshallnz/clear_items_fix
[python] ensure we lock the GUI prior to calling ClearItems. Fixes #14780
-rw-r--r--xbmc/interfaces/legacy/WindowXML.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/interfaces/legacy/WindowXML.cpp b/xbmc/interfaces/legacy/WindowXML.cpp
index da8dcebbb8..1fb644bf62 100644
--- a/xbmc/interfaces/legacy/WindowXML.cpp
+++ b/xbmc/interfaces/legacy/WindowXML.cpp
@@ -249,6 +249,7 @@ namespace XBMCAddon
void WindowXML::clearList()
{
XBMC_TRACE;
+ LOCKGUI;
A(ClearFileItems());
A(m_viewControl).SetItems(*(A(m_vecItems)));