aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYotam Barnoy2010-12-23 14:37:03 +0000
committerYotam Barnoy2010-12-23 14:37:03 +0000
commit10b96eb94d34518120107c7005b946e989201704 (patch)
tree3b948add6d455773e316a6ddb491960da1b3f293
parenta03a3fd411aaac571413fae4f95c576845995e10 (diff)
downloadscummvm-rg350-10b96eb94d34518120107c7005b946e989201704.tar.gz
scummvm-rg350-10b96eb94d34518120107c7005b946e989201704.tar.bz2
scummvm-rg350-10b96eb94d34518120107c7005b946e989201704.zip
PLUGINS: PluginManager minor cleanups
svn-id: r55027
-rw-r--r--base/plugins.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/plugins.h b/base/plugins.h
index f78db5cd88..928be85c32 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -309,13 +309,12 @@ protected:
void addToPluginsInMemList(Plugin *plugin);
static PluginManager *_instance;
- PluginManager();
+ PluginManager();
public:
virtual ~PluginManager();
- static void createInstance(bool cached);
- static void destroy() { delete _instance; }
+ static void destroy() { delete _instance; _instance = 0; }
static PluginManager &instance();
void addPluginProvider(PluginProvider *pp);