Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Nov 18, 2023
1 parent c175af6 commit b389b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/py/reactpy/reactpy/core/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ async def stop(self) -> None:
cleanup = None

if cleanup is not None:
# backwards compat for async cleanup in Python<3.11
try:
await cleanup
except Exception:
Expand Down

0 comments on commit b389b2b

Please sign in to comment.