1
0
Fork 0

Do not cleanup plugins in repository, since they are cleaned up by their __del__ method

This commit is contained in:
Jan Kaluza 2012-03-22 11:05:05 +01:00
parent 1bc60f0b9b
commit bf205aafb3

View file

@ -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: