some error in example

This commit is contained in:
Florent 2025-04-16 12:05:16 +02:00
parent 3db73a8883
commit f84d17566b

View file

@ -83,7 +83,7 @@ async def main () :
print ("Ack")
except KeyboardInterrupt:
meshcore.stop()
mc.stop()
print("\nExiting...")
except asyncio.CancelledError:
# Handle task cancellation from KeyboardInterrupt in asyncio.run()