fix memleak
[vuplus_dvbapp] / lib / python / Components / GUIComponent.py
index afe9526..c3edaa7 100644 (file)
@@ -25,7 +25,7 @@ class GUIComponent(object):
                pass
        
        def destroy(self):
-               pass
+               self.__dict__.clear()
        
        # this works only with normal widgets - if you don't have self.instance, override this.
        def applySkin(self, desktop):