force refresh tqdm before close

This commit is contained in:
Vladimir Mandic 2023-03-12 09:19:23 -04:00 committed by GitHub
parent 3c922d983b
commit bd67c41f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -714,6 +714,7 @@ class TotalTQDM:
def clear(self):
if self._tqdm is not None:
self._tqdm.refresh()
self._tqdm.close()
self._tqdm = None