Add a Garbage Collect after removing stuff

This commit is contained in:
Melissa LeBlanc-Williams 2022-03-07 15:53:31 -08:00
parent f463e6fb42
commit 41a895c373

View file

@ -226,6 +226,7 @@ class PortalBase:
self._text = []
if clear_font_cache:
self._fonts = {}
gc.collect()
def set_text(self, val, index=0):
"""Display text, with indexing into our list of text boxes.