Add a Garbage Collect after removing stuff
This commit is contained in:
parent
f463e6fb42
commit
41a895c373
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue