We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8246c commit 76699a0Copy full SHA for 76699a0
prompt_toolkit/contrib/telnet/server.py
@@ -316,7 +316,10 @@ async def stop(self) -> None:
316
t.cancel()
317
318
for t in self._application_tasks:
319
- await t
+ try:
320
+ await t
321
+ except asyncio.CancelledError:
322
+ logger.debug("Task %s cancelled", str(t))
323
324
def _accept(self) -> None:
325
"""
0 commit comments