aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Amland <thomas.amland@gmail.com>2015-11-08 15:26:14 +0100
committerThomas Amland <thomas.amland@gmail.com>2015-11-12 21:43:29 +0100
commit5bc424eadfde0a4e84c741a55b6322dd0fc65ba5 (patch)
tree6a35ec01b69e8b17d8389ae120bd7e3b27e16dc6
parent437005f42fa65053c6164a4d2c9128bb2c03d832 (diff)
[addons] lock manager initialization
-rw-r--r--xbmc/addons/AddonManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/addons/AddonManager.cpp b/xbmc/addons/AddonManager.cpp
index 4d2793e356..682b93f9d0 100644
--- a/xbmc/addons/AddonManager.cpp
+++ b/xbmc/addons/AddonManager.cpp
@@ -268,6 +268,7 @@ void CAddonMgr::UnregisterAddonMgrCallback(TYPE type)
bool CAddonMgr::Init()
{
+ CSingleLock lock(m_critSection);
m_cpluff = new DllLibCPluff;
m_cpluff->Load();