Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b389b2b

Browse files
committedNov 18, 2023
add comment
1 parent c175af6 commit b389b2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/py/reactpy/reactpy/core/hooks.py

+1
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ async def stop(self) -> None:
191191
cleanup = None
192192

193193
if cleanup is not None:
194+
# backwards compat for async cleanup in Python<3.11
194195
try:
195196
await cleanup
196197
except Exception:

0 commit comments

Comments
 (0)
Please sign in to comment.