fix: prevent infinite loop by adding break statement

This commit is contained in:
acul71
2025-01-01 23:19:12 +01:00
committed by Paul Robinson
parent c71d41696f
commit ac41b012da

View File

@ -34,6 +34,7 @@ async def handle_ping(stream: INetStream) -> None:
except Exception:
await stream.reset()
break
async def send_ping(stream: INetStream) -> None: