diff options
author | Arne Morten Kvarving <cptspiff@gmail.com> | 2014-08-27 23:18:09 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2015-03-03 09:17:03 +0100 |
commit | 08e84b7cf155511b6194994e3f2b75d5f2c37cfd (patch) | |
tree | 3f2cf83e73ad89f5e93cb2fe4a9a10cfcbe8a9c4 | |
parent | 72617fe44c1ef5f020e3093bcfbb8e121b281657 (diff) |
fixed: don't load new copy of dll in LoadDll()
-rw-r--r-- | xbmc/addons/AddonDll.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/addons/AddonDll.h b/xbmc/addons/AddonDll.h index 6e1a2cb075..210157b5bd 100644 --- a/xbmc/addons/AddonDll.h +++ b/xbmc/addons/AddonDll.h @@ -158,6 +158,9 @@ AddonPtr CAddonDll<TheDll, TheStruct, TheProps>::Clone() const template<class TheDll, typename TheStruct, typename TheProps> bool CAddonDll<TheDll, TheStruct, TheProps>::LoadDll() { + if (m_pDll) + return true; + std::string strFileName; if (!m_bIsChild) { |