mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 06:45:39 +00:00
Log info when disconnecting
This commit is contained in:
@@ -54,6 +54,7 @@ class Connection:
|
||||
|
||||
def close(self):
|
||||
self.connection.close()
|
||||
log.info("Disconnected")
|
||||
|
||||
def send(self, data: bytes):
|
||||
with self.lock:
|
||||
|
Reference in New Issue
Block a user