From 890d9efcfe3b15e3da518de9b2cfe3f2e25744ff Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 16 Oct 2010 12:08:28 +0200 Subject: closed #131 --- module/plugins/Plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'module/plugins') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 00cb2401f..0df3519fc 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -114,6 +114,12 @@ class Plugin(object): def __call__(self): return self.__name__ + def __del__(self): + if hasattr(self, "pyfile"): + del self.pyfile + if hasattr(self, "req"): + del self.req + def setup(self): """ more init stuff if needed """ pass -- cgit v1.2.3