Skip to content

Commit c59c97f

Browse files
committed
Remove sleep hack.
1 parent ff3cb00 commit c59c97f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/py/kaleido/_sync_server.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,6 @@ def open(self, *args: Any, silence_warnings=False, **kwargs: Any) -> None:
8888
_logger.debug("Registering close with atexit.")
8989
atexit.register(close)
9090

91-
# python bug
92-
from time import sleep # noqa: PLC0415 import at top, is hack
93-
94-
sleep(0.1)
95-
# python seems to sometimes not like calling atext.register
96-
# too close to the end of a program
97-
9891
def close(self, *, silence_warnings=False, _atexit=False):
9992
"""Reset the singleton back to an uninitialized state."""
10093
if _atexit:

0 commit comments

Comments
 (0)