diff --git a/telethon/client/updates.py b/telethon/client/updates.py index 9fbb4ce2..bda6bb2f 100644 --- a/telethon/client/updates.py +++ b/telethon/client/updates.py @@ -27,7 +27,10 @@ class UpdateMethods(UserMethods): will be running already. Use ``await client.disconnected`` in this situation instead. """ - self.loop.run_until_complete(self.disconnected) + try: + self.loop.run_until_complete(self.disconnected) + except KeyboardInterrupt: + self.loop.run_until_complete(self.disconnect()) def on(self, event): """