aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@xbmc.org>2014-03-08 13:27:15 +1300
committerJonathan Marshall <jmarshall@xbmc.org>2014-03-08 13:27:15 +1300
commit0aff6cf3618d5c15a74da911f4aa1ac348276b6c (patch)
treee8a6dac6142dad2660ee4629b714b2d58966e516
parentf3dde3ecb0c1154a98c192e2d993e06ca57fa3d9 (diff)
[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)));