mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix issue when a client connection is lost that has been authenticated
This commit is contained in:
parent
8bcc7ea232
commit
9175ac16fd
1 changed files with 4 additions and 2 deletions
|
@ -169,7 +169,9 @@ class DelugeRPCProtocol(Protocol):
|
|||
|
||||
# We need to remove this session from various dicts
|
||||
del self.factory.authorized_sessions[self.transport.sessionno]
|
||||
if self.transport.sessionno in self.factory.session_protocols:
|
||||
del self.factory.session_protocols[self.transport.sessionno]
|
||||
if self.transport.sessionno in self.factory.interested_events:
|
||||
del self.factory.interested_events[self.transport.sessionno]
|
||||
|
||||
log.info("Deluge client disconnected: %s", reason.value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue