Merge pull request #8548 from vladmandic/total-tqdm

force refresh tqdm before close
This commit is contained in:
AUTOMATIC1111 2023-03-12 16:51:30 +03:00 committed by GitHub
commit 806aa5e8e7
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