We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62dd78a commit 39458dcCopy full SHA for 39458dc
adafruit_bitmap_font/bdf.py
@@ -1,3 +1,4 @@
1
+import gc
2
from .glyph_cache import GlyphCache
3
4
class BDF(GlyphCache):
@@ -59,6 +60,7 @@ def load_glyphs(self, code_points):
59
60
character = False
61
if desired_character:
62
self._glyphs[code_point] = current_info
63
+ gc.collect()
64
if total_remaining == 0:
65
return
66
desired_character = False
0 commit comments