Skip to content

Commit

Permalink
Fixed cursor disappear on fast spinners. (#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
khustup committed Sep 29, 2023
1 parent b5b6000 commit 7280c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplake/util/spinner.py
Expand Up @@ -76,7 +76,7 @@ def run(self):
try:
time.sleep(deeplake.constants.SPINNER_START_DELAY)
frames = cycle("/-\\|")
if not self._hide_event.is_set():
if not self._hide_event.is_set() and not self._stop_event.is_set():
self._hide_cursor()
while not self._stop_event.is_set():
if self._hide_event.is_set():
Expand Down

0 comments on commit 7280c65

Please sign in to comment.