From bf205aafb33b94da14345071f31a072e43bc313d Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 22 Mar 2012 11:05:05 +0100 Subject: [PATCH] Do not cleanup plugins in repository, since they are cleaned up by their __del__ method --- tuned/plugins/repository.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tuned/plugins/repository.py b/tuned/plugins/repository.py index dca218f..9ad673e 100644 --- a/tuned/plugins/repository.py +++ b/tuned/plugins/repository.py @@ -35,7 +35,6 @@ class PluginRepository(tuned.patterns.Singleton): assert isinstance(plugin, self._loader.interface) log.debug("removing plugin %s" % plugin) self._plugins.remove(plugin) - plugin.cleanup() def update(self): for plugin in self._plugins: