[addons] ensure we clear the disabled cache when deiniting. fixes #14970
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 15 Mar 2014 04:16:02 +0000 (17:16 +1300)
committerJonathan Marshall <jmarshall@xbmc.org>
Sat, 15 Mar 2014 04:24:36 +0000 (17:24 +1300)
xbmc/addons/AddonManager.cpp

index b5ddb88..48bcac7 100644 (file)
@@ -305,6 +305,7 @@ void CAddonMgr::DeInit()
   delete m_cpluff;
   m_cpluff = NULL;
   m_database.Close();
+  m_disabled.clear();
 }
 
 bool CAddonMgr::HasAddons(const TYPE &type, bool enabled /*= true*/)