Merge pull request #8548 from vladmandic/total-tqdm
force refresh tqdm before close
This commit is contained in:
commit
806aa5e8e7
1 changed files with 1 additions and 0 deletions
|
@ -714,6 +714,7 @@ class TotalTQDM:
|
|||
|
||||
def clear(self):
|
||||
if self._tqdm is not None:
|
||||
self._tqdm.refresh()
|
||||
self._tqdm.close()
|
||||
self._tqdm = None
|
||||
|
||||
|
|
Loading…
Reference in a new issue