diff --git a/Touche.roboFontExt/lib/touche/touche.py b/Touche.roboFontExt/lib/touche/touche.py index f85c9eb..4d42066 100644 --- a/Touche.roboFontExt/lib/touche/touche.py +++ b/Touche.roboFontExt/lib/touche/touche.py @@ -22,6 +22,10 @@ class Touche(object): def __init__(self, font): self.font = font self.flatKerning = font.naked().flatKerning + + def __del__(self): + self.font = None + self.flatKerning = None def findTouchingPairs(self, glyphs): """Finds all touching pairs in a list of glyphs.